Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Palletsprojects | Quart | < 0.19.7 |
| Palletsprojects | Werkzeug | < 3.0.6 |
Related Weaknesses (CWE)
References
- https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644eePatch
- https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f
- https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a665511Patch
- https://github.com/pallets/werkzeug/releases/tag/3.0.6Release Notes
- https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2Vendor Advisory
- https://security.netapp.com/advisory/ntap-20250103-0007/
FAQ
What is CVE-2024-49767?
CVE-2024-49767 is a vulnerability with a CVSS score of 7.5 (HIGH). 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/f...
How severe is CVE-2024-49767?
CVE-2024-49767 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-49767?
Check the references section above for vendor advisories and patch information. Affected products include: Palletsprojects Quart, Palletsprojects Werkzeug.