CVE-2024-49767
Description
Werkzeug is a Web Server Gateway Interface web application library. Applications using `werkzeug.formparser.MultiPartParser` corresponding to a version of Werkzeug prior to 3.0.6 to parse `multipart/form-data` requests (e.g. all flask applications) are vulnerable to a relatively simple but effective resource exhaustion (denial of service) attack. A specifically crafted form submission request can cause the parser to allocate and block 3 to 8 times the upload size in main memory. There is no upper limit; a single upload at 1 Gbit/s can exhaust 32 GB of RAM in less than 60 seconds. Werkzeug version 3.0.6 fixes this issue.
Description as published by the source, in English.
Key facts
- Published
- 2024-10-25
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.1 %
higher than 62 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| quart (PyPI) | < 0.20.0 | Affected | |
| werkzeug (PyPI) | ≥ 2.0.0rc1, < 3.0.6 | Affected | |
| Palletsprojects | Quart | < 0.19.7 | Affected |
| Palletsprojects | Werkzeug | < 3.0.6 | Affected |
Weakness type
-
CWE-400: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
-
CWE-770: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1498.002: Reflection Amplification
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.002: Service Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee
- https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b
- https://github.com/pallets/werkzeug/releases/tag/3.0.6
- https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2
- https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f
- https://security.netapp.com/advisory/ntap-20250103-0007/
Related at Berigo
Articles
-
Attackers are exploiting the plug-in in front of Oracle WebLogic
Same product
2026-08-25
CISA added CVE-2026-21962 to its Known Exploited Vulnerabilities Catalog on 24 August, citing evidence of active exploitation. The flaw sits in Oracl…
-
Hidden text in Word documents makes Copilot alter figures and spread the attack
Same product
2026-07-31
On 28 July 2026 security researcher Håkon Måløy disclosed an attack in which hidden instructions in an attached Word document make Copilot alter the …
-
Phishing is moving from email into Teams
Same product
2026-07-23
Microsoft blocked 7.6 billion email phishing threats in Q2 while malicious voice calls in Teams reached nearly ten times mid-2025 levels.
-
Proof-of-concept code published for Dirty Frag in the Linux kernel
Same product
2026-05-17
Dirty Frag chains two kernel flaws to obtain root without relying on race conditions.
Services
-
DPO as a Service
Berigo offers DPO as a Service, an independent data protection officer function that meets the requirements of GDPR Articles 37 to 39, without the ne…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.