CVE-2024-31994

Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, an attacker can point the image request to an arbitrarily large file. Mealie will attempt to retrieve this file in whole. If it can be retrieved, it may be stored on the file system in whole (leading to possible disk consumption), however the more likely scenario given resource limitations is that the container will OOM during file retrieval if the target file size is greater than the allocated memory of the container. At best this can be used to force the container to infinitely restart due to OOM (if so configured in `docker-compose.yml), or at worst this can be used to force the Mealie container to crash and remain offline. In the event that the file can be retrieved, the lack of rate limiting on this endpoint also permits an attacker to generate ongoing requests to any target of their choice, potentially contributing to an external-facing DoS attack. This vulnerability is fixed in 1.4.0.
Configurations

No configuration.

History

22 Apr 2024, 13:28

Type Values Removed Values Added
Summary
  • (es) Mealie es un administrador de recetas y planificador de comidas autónomo. Antes de la versión 1.4.0, un atacante podía dirigir la solicitud de imagen a un archivo arbitrariamente grande. Mealie intentará recuperar este archivo en su totalidad. Si se puede recuperar, se puede almacenar en el sistema de archivos en su totalidad (lo que lleva a un posible consumo de disco); sin embargo, el escenario más probable dadas las limitaciones de recursos es que el contenedor haga OOM durante la recuperación del archivo si el tamaño del archivo de destino es mayor que el memoria asignada del contenedor. En el mejor de los casos, esto se puede usar para forzar que el contenedor se reinicie infinitamente debido a OOM (si así está configurado en `docker-compose.yml), o en el peor de los casos, esto se puede usar para forzar que el contenedor Mealie se bloquee y permanezca fuera de línea. En caso de que se pueda recuperar el archivo, la falta de limitación de velocidad en este endpoint también permite a un atacante generar solicitudes continuas a cualquier objetivo de su elección, lo que podría contribuir a un ataque DoS externo. Esta vulnerabilidad se solucionó en 1.4.0.

19 Apr 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-19 22:15

Updated : 2024-04-22 13:28


NVD link : CVE-2024-31994

Mitre link : CVE-2024-31994

CVE.ORG link : CVE-2024-31994


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption