Quick answers
- Is CVE-2024-49767 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-49767 being exploited in the wild.
- How severe is CVE-2024-49767?
- High severity, with a CVSS score of 7.5, published 25 October 2024.
- Which products and versions are affected?
- Quart (PyPI) < 0.20.0, ECOSYSTEM:introduced=0,fixed=0.20.0; werkzeug (PyPI) >= 2.0.0rc1, <= 3.0.5, ECOSYSTEM:introduced=2.0.0rc1,fixed=3.0.6.
- Is there a fix for CVE-2024-49767?
- Yes. Quart (PyPI): upgrade to 0.20.0 or later; werkzeug (PyPI): upgrade to 3.0.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-49767 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2024-49767?
- Check whether you run Quart (PyPI) or werkzeug (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Quart (PyPI): upgrade to 0.20.0 or later
pip install "Quart>=0.20.0" - werkzeug (PyPI): upgrade to 3.0.6 or later
pip install "werkzeug>=3.0.6"
Technical details
A resource exhaustion vulnerability exists in Werkzeug's multipart/form-data parsing logic. An attacker can bypass the 'Request.max_form_memory_size' security setting by providing a specially crafted form body during a file upload request. This allows for uncontrolled memory consumption, potentially leading to a Denial of Service (DoS) condition. The vulnerability is reachable over the network without authentication or user interaction. While 'max_content_length' remains effective, users are advised to upgrade to Werkzeug 3.0.6 or Quart 0.20.0 to address the bypass.
Affected products
- Pallets Werkzeug >= 2.0.0rc1, <= 3.0.5
- Pallets Quart < 0.20.0
Identifiers
- CVE-2024-49767
- GHSA-q34m-jh98-gwm2
- PYSEC-2026-1860
- PYSEC-2026-3417
Timeline
- 2024-10-25: disclosed
- 2024-10-25: advisory
- 2024-10-25: patched