CVE-2024-49767
Flask Werkzeug Multipart Form Data Denial of Service 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.
INFO
Published Date :
Oct. 25, 2024, 8:15 p.m.
Last Modified :
Nov. 5, 2024, 8:03 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2024-49767
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49767
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49767
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49767
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 05, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee No Types Assigned https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee Patch Changed Reference Type https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b No Types Assigned https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b Patch Changed Reference Type https://github.com/pallets/werkzeug/releases/tag/3.0.6 No Types Assigned https://github.com/pallets/werkzeug/releases/tag/3.0.6 Release Notes Changed Reference Type https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2 No Types Assigned https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2 Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:palletsprojects:quart:*:*:*:*:*:python:*:* versions up to (excluding) 0.19.7 *cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:* versions up to (excluding) 3.0.6 -
CVE Received by [email protected]
Oct. 25, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2 [No types assigned] Added Reference GitHub, Inc. https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee [No types assigned] Added Reference GitHub, Inc. https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b [No types assigned] Added Reference GitHub, Inc. https://github.com/pallets/werkzeug/releases/tag/3.0.6 [No types assigned] Added CWE GitHub, Inc. CWE-770 Added CWE GitHub, Inc. CWE-400 Added CVSS V4.0 GitHub, Inc. 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
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49767
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49767
weaknesses.