CVE-2024-31994

Public Exploit
Mealie vulnerable to a DoS in recipe image importer (GHSL-2023-228)

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.

Categories

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.10%
Third-Party Advisory github.com
Affected: mealie-recipes mealie
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-31994?
CVE-2024-31994 has been scored as a medium severity vulnerability.
How to fix CVE-2024-31994?
To fix CVE-2024-31994, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-31994 being actively exploited in the wild?
It is possible that CVE-2024-31994 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-31994?
CVE-2024-31994 affects mealie-recipes mealie.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.