Mealie contains a DoS vulnerability in recipe importer
CVE-2024-31992Published 19 Apr 2024, 20:49 UTC
Real-world risk
2.0/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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, however these requests are not rate-limited. While there are efforts to prevent DDoS by implementing a timeout on requests, it is possible for an attacker to issue a large number of requests to the server which will be handled in batches based on the configuration of the Mealie server. The chunking of responses is helpful for mitigating memory exhaustion on the Mealie server, however a single request to an arbitrarily large external file (e.g. a Debian ISO) is often sufficient to completely saturate a CPU core assigned to the Mealie container. Without rate limiting in place, it is possible to not only sustain traffic against an external target indefinitely, but also to exhaust the CPU resources assigned to the Mealie container. This vulnerability is fixed in 1.4.0.
Am I affected?
What to do
Update to a fixed version: 1.4.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.7% chance of exploitation in 30 days (percentile 55), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.6 × threat 0.852.040
- Rounded to one decimal between 0.1 and 102.0
Exploitation and evidence timeline
- 19 Apr 2024 Published
- 3 Dec 2026 Risk 2.0 (cvss fallback)
Weakness
CWE-400
References
- https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/vendor-advisory, x-transferred
- https://github.com/mealie-recipes/mealie/pull/3368misc, x-transferred
- https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56fmisc, x-transferred
- https://github.com/mealie-recipes/mealie/blob/mealie-next/mealie/services/scraper/scraper_strategies.py#L27-L70misc, x-transferred
- CVE-2024-31992 on CVE.org