CVE-2024-31993 json
Mealie vulnerable to a GET-based SSRF in recipe image importer (GHSL-2023-227)
published 2024-04-19 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-29840
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, the scrape_image 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.
Patch / fix
- mealie mealie 1.4.0
- mealie_project mealie 1.4.0
- github.com/mealie-recipes/mealie@2a3463b commit
- github.com/mealie-recipes/mealie#3368 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 4.5 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected products
- mealie-recipes mealie
- mealie mealie
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/mealie-recipes/mealie/pull/3368
issue-tracking
-
github.com
/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f
patch
-
securitylab.github.com
/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/
third-party-advisory
-
github.com
/mealie-recipes/mealie/blob/ee121a12f8db33ecb4db5f8582f7ea9788d019e4/mealie/services/recipe/recipe_data_servic
product
Sources
- CVE List CVE-2024-31993
- NVD CVE-2024-31993
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.