CVE-2024-31994
Mealie DOSS/FS Exhaustion Via Unrestricted File Retrieval
Description
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.
INFO
Published Date :
April 19, 2024, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 9:14 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
4.0
Exploitability Score :
2.0
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-31994
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-31994
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-31994
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H Added CWE CWE-770 Added CPE Configuration OR *cpe:2.3:a:mealie:mealie:*:*:*:*:*:*:*:* versions from (excluding) 1.4.0 Added Reference Type CVE: https://github.com/mealie-recipes/mealie/blob/ee121a12f8db33ecb4db5f8582f7ea9788d019e4/mealie/services/recipe/recipe_data_service.py#L107 Types: Product Added Reference Type GitHub, Inc.: https://github.com/mealie-recipes/mealie/blob/ee121a12f8db33ecb4db5f8582f7ea9788d019e4/mealie/services/recipe/recipe_data_service.py#L107 Types: Product Added Reference Type CVE: https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f Types: Patch Added Reference Type GitHub, Inc.: https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f Types: Patch Added Reference Type CVE: https://github.com/mealie-recipes/mealie/pull/3368 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/mealie-recipes/mealie/pull/3368 Types: Issue Tracking, Patch Added Reference Type CVE: https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/ Types: Exploit, Third Party Advisory Added Reference Type GitHub, Inc.: https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/ Types: Exploit, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/mealie-recipes/mealie/blob/ee121a12f8db33ecb4db5f8582f7ea9788d019e4/mealie/services/recipe/recipe_data_service.py#L107 Added Reference https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f Added Reference https://github.com/mealie-recipes/mealie/pull/3368 Added Reference https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/ -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 25, 2024
Action Type Old Value New Value Removed CWE CISA-ADP CWE-400 Removed CVSS V3.1 CISA-ADP AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 15, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-400 Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
Apr. 19, 2024
Action Type Old Value New Value Added Description 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. Added Reference GitHub, Inc. https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/ [No types assigned] Added Reference GitHub, Inc. https://github.com/mealie-recipes/mealie/pull/3368 [No types assigned] Added Reference GitHub, Inc. https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f [No types assigned] Added Reference GitHub, Inc. https://github.com/mealie-recipes/mealie/blob/ee121a12f8db33ecb4db5f8582f7ea9788d019e4/mealie/services/recipe/recipe_data_service.py#L107 [No types assigned] Added CWE GitHub, Inc. CWE-400 Added CVSS V3.1 GitHub, Inc. AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-31994
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-31994
weaknesses.