CVE-2024-31993: 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, the scrapeimage function will retrieve an image based on a user-provided URL, however the provided URL is not validated to point to an external location and does not have any enforced rate limiting. The response from the Mealie server will also vary depending on whether or not the target file is an image, is not an image, or does not exist. Additionally, when a file is retrieved the file may remain stored on Mealie’s file system as original.jpg under the UUID of the recipe it was requested for. If the attacker has access to an admin account (e.g. the default changeme@example.com), this file can then be retrieved. Note that if Mealie is running in a development setting this could be leveraged by an attacker to retrieve any file that the Mealie server had downloaded in this fashion without the need for administrator access. 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:02 PM
Data Sourced
via MITRE·09:02 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-31993?

CVE-2024-31993 has a medium severity rating due to the potential for abuse of the scrape_image function.

2

How do I fix CVE-2024-31993?

To fix CVE-2024-31993, upgrade Mealie to version 1.4.0 or higher, which implements URL validation and rate limiting.

3

What is the exploit in CVE-2024-31993?

CVE-2024-31993 allows attackers to exploit the scrape_image function to possibly retrieve images from unvalidated URLs.

4

Which versions of Mealie are affected by CVE-2024-31993?

Mealie versions prior to 1.4.0 are affected by CVE-2024-31993.

5

Is user data at risk with CVE-2024-31993?

While CVE-2024-31993 does not directly compromise user data, it could allow attackers to perform unwanted actions by manipulating image scraping.

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