# CVE-2024-31992: Mealie contains a DoS vulnerability in recipe importer

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 64% of CVEs (2026-11-30)
- Published: 2024-04-19T20:49:18.141Z
- Modified: 2026-06-17T07:29:04.917Z
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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, 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.

(As written by CVE List.)

## Affected

- mealie-recipes mealie: < 1.4.0
- mealie mealie: 1.0.0; before 1.4.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://securitylab.github.com/advisories/GHSL-2023-225_GHSL-2023-226_Mealie/> (third-party-advisory)
- <https://github.com/mealie-recipes/mealie/pull/3368> (issue-tracking)
- <https://github.com/mealie-recipes/mealie/commit/2a3463b7466bc297aede50046da9550d919ec56f> (patch)
- <https://github.com/mealie-recipes/mealie/blob/mealie-next/mealie/services/scraper/scraper_strategies.py#L27-L70> (product)

## Sources

- CVE List: [CVE-2024-31992](https://www.cve.org/CVERecord?id=CVE-2024-31992), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-31992](https://nvd.nist.gov/vuln/detail/CVE-2024-31992), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31992 · Whole record: https://cve.day/CVE-2024-31992.json · Rebuilt by cve.day 2026-11-25T22:58:39.493Z
