CVE-2024-31994: GHSL-2023-225, GHSL-2023-226, GHSL-2023-227, and GHSL-2023-228: Server-Side Request Forgery (SSRF) and Denial of Service (DoS) in Mealie - CVE-2024-31991, CVE-2024-31992, CVE-2024-31993, CVE-2024-31994

Published Apr 12, 2024
·
Updated

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.

Other sources

Mealie v1.0.0-RC1.1 is vulnerable to multiple SSRF and DoS vulnerabilities. These vulnerabilities can be leveraged to identify, map, and retrieve the contents of webservers on Mealie’s local network as well as being the victim of, or launching point for, a denial of service attack against a target of the attacker’s choice.

GitHub Security Lab

Affected Software

2 affected components
Mealie Mealie<1.4.0
Mealie Mealie<1.4.0

Event History

Apr 12, 2024
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
Apr 19, 2024
CVE Published
via MITRE·09:11 PM
Data Sourced
via MITRE·09:11 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-31994?

CVE-2024-31994 has a moderate severity rating due to the potential for excessive file system usage by attackers.

2

How do I fix CVE-2024-31994?

To fix CVE-2024-31994, upgrade Mealie to version 1.4.0 or later, which mitigates this vulnerability.

3

What types of attacks are possible with CVE-2024-31994?

CVE-2024-31994 allows attackers to exploit the image request mechanism to upload arbitrarily large files, potentially impacting system resources.

4

Is CVE-2024-31994 present in all versions of Mealie?

CVE-2024-31994 affects all versions of Mealie prior to 1.4.0.

5

What are the potential consequences of exploiting CVE-2024-31994?

Exploitation of CVE-2024-31994 could lead to denial of service by exhausting system resources through large file uploads.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203