{"cve":"CVE-2024-49767","nvd":{"published":"2024-10-25T20:15:04.530","modified":"2026-06-17T08:00:24.643","status":"Modified","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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-770"],"references":["https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee","https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f","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"],"products":["palletsprojects:quart","palletsprojects:werkzeug"],"source":"nvd","synced_at":"2026-10-19T21:56:33.105311382+00:00"},"epss":{"cve":"CVE-2024-49767","score":0.01095,"percentile":0.65551,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q34m-jh98-gwm2","url":"https://osv.dev/vulnerability/GHSA-q34m-jh98-gwm2","summary":"Werkzeug possible resource exhaustion when parsing file data in forms","modified":"2026-09-10T03:50:19.984825326Z","packages":[{"ecosystem":"PyPI","name":"werkzeug","purl":"pkg:pypi/werkzeug","ranges":[">=2.0.0rc1 <3.0.6"],"fixed":["3.0.6"]},{"ecosystem":"PyPI","name":"quart","purl":"pkg:pypi/quart","ranges":["<0.20.0"],"fixed":["0.20.0"]}]},{"id":"PYSEC-2026-1860","url":"https://osv.dev/vulnerability/PYSEC-2026-1860","summary":"Werkzeug possible resource exhaustion when parsing file data in forms","modified":"2026-07-13T16:43:34.482065524Z","packages":[{"ecosystem":"PyPI","name":"quart","purl":"pkg:pypi/quart","ranges":["<0.20.0"],"fixed":["0.20.0"]}]},{"id":"PYSEC-2026-3417","url":"https://osv.dev/vulnerability/PYSEC-2026-3417","summary":"Werkzeug possible resource exhaustion when parsing file data in forms","modified":"2026-07-13T16:43:34.482065524Z","packages":[{"ecosystem":"PyPI","name":"werkzeug","purl":"pkg:pypi/werkzeug","ranges":[">=2.0.0rc1 <3.0.6"],"fixed":["3.0.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}