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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-400",
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49767.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:palletsprojects:quart:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.19.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5e78c4169b8eb66b91ead3e62d44721b9e1644ee"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "abb04a512496206de279225340ed022852fbf51f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
{
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0rc1"
},
{
"fixed": "3.0.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "50cfeebcb0727e18cc52ffbeb125f4a66551179b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "3.0.6",
"range": [
{
"fixed": "5eaefc3996aa5cc8c5237d8b82f1b89eed6ea624"
}
],
"source": "REFERENCES_TAG"
}
]
}