CVE-2024-31991
published medium CVSS 3.1 · 4.1Mealie vulnerable to a GET-based SSRF in recipe importer (GHSL-2023-225)
Package status and fixes
Description
Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, the safe_scrape_html function utilizes a user-controlled URL to issue a request to a remote server. Based on the content of the response, it will either parse the content or disregard it. This function, nor those that call it, add any restrictions on the URL that can be provided, nor is it restricted to being an FQDN (i.e., an IP address can be provided). As this function’s return will be handled differently by its caller depending on the response, it is possible for an attacker to use this functionality to positively identify HTTP(s) servers on the local network with any IP/port combination. This issue can result in any authenticated user being able to map HTTP servers on a local network that the Mealie service has access to. Note that by default any user can create an account on a Mealie server, and that the default [email protected] user is available with its hard-coded password. This vulnerability is fixed in 1.4.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mealie-recipes | mealie | < 1.4.0 (affected) | GitHub_M · cna |
| mealie_project | mealie | 0.5.5 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4- https://github.com/mealie-recipes/mealie/blob/mealie-next/mealie/services/scraper/scraper_strategies.py#L27-L70
- https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f
- https://github.com/mealie-recipes/mealie/pull/3368
- https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/
Provider assertions
3GitHub_M · cna
Mealie vulnerable to a GET-based SSRF in recipe importer (GHSL-2023-225)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 78ae929c2670b7209ef4020ca9c14bf72aa765615e3d8c1107386a909c46692b
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record