{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-49767","id":"CVE-2024-49767","title":"Werkzeug possible resource exhaustion when parsing file data in forms","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 ","descriptionLong":"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.","published":"2024-10-25T19:41:35.029Z","updated":"2026-10-28T02:30:58.110150070Z","reserved":"2024-10-18T13:43:23.457Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"medium","products":["pallets werkzeug","pallets Quart"],"affectedProducts":[{"vendor":"pallets","product":"werkzeug","defaultStatus":null,"versions":[{"version":">= 2.0.0rc1, < 3.0.6","status":"affected"}],"platforms":[]},{"vendor":"pallets","product":"Quart","defaultStatus":null,"versions":[{"version":"< 0.20.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"werkzeug","purl":"pkg:pypi/werkzeug","ranges":[">=2.0.0rc1 <3.0.6"],"fixed":["3.0.6"],"advisory":"GHSA-q34m-jh98-gwm2"},{"ecosystem":"PyPI","name":"quart","purl":"pkg:pypi/quart","ranges":["<0.20.0"],"fixed":["0.20.0"],"advisory":"GHSA-q34m-jh98-gwm2"}],"cwes":["CWE-400","CWE-770"],"aliases":["GHSA-q34m-jh98-gwm2","PYSEC-2026-1860","PYSEC-2026-3417"],"references":[{"url":"https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/pallets/werkzeug/releases/tag/3.0.6","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0007/","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49767.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49767","tags":["advisory"]},{"url":"https://github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5","tags":["web"]},{"url":"https://github.com/pallets/werkzeug","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20250103-0007","tags":["web"]},{"url":"https://pypi.org/project/quart","tags":["package"]},{"url":"https://github.com/advisories/GHSA-q34m-jh98-gwm2","tags":["advisory"]},{"url":"https://pypi.org/project/werkzeug","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01095,"epssPercentile":0.66237,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-49767","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49767","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-49767","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q34m-jh98-gwm2","ok":true,"note":"GHSA-q34m-jh98-gwm2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-49767","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}