CVE-2024-31992

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-31992
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31992.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31992
Published
2024-04-19T21:15:08Z
Modified
2025-01-08T16:01:15.433713Z
Summary
[none]
Details

Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, the safescrapehtml 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.

References

Affected packages

Git / github.com/mealie-recipes/mealie

Affected ranges

Type
GIT
Repo
https://github.com/mealie-recipes/mealie
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.0.1
v0.0.2
v0.1.0
v0.2.0
v0.2.1
v0.2.2
v0.3.0
v0.4.0
v0.4.1
v0.4.1a
v0.4.2
v0.4.3

v1.*

v1.0.0
v1.0.0-RC1
v1.0.0-RC1.1
v1.0.0-RC2
v1.0.0-beta-1
v1.0.0beta-2
v1.0.0beta-3
v1.0.0beta-4
v1.0.0beta-5
v1.1.0
v1.1.1
v1.2.0
v1.3.0
v1.3.1
v1.3.2