CVE-2023-25577
Werkzeug Multipart File Parsing DoS
Description
Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or `request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.
INFO
Published Date :
Feb. 14, 2023, 8:15 p.m.
Last Modified :
Aug. 18, 2023, 2:15 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-25577 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2023-25577
.
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).
None
CMake Shell Perl C++ C Batchfile CSS Makefile M4 Python
None
Dockerfile Procfile Python HTML Mako
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-25577
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-25577
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.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Aug. 18, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230818-0003/ [No Types Assigned] -
CVE Modified by [email protected]
Aug. 07, 2023
Action Type Old Value New Value Added Reference https://www.debian.org/security/2023/dsa-5470 [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 23, 2023
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/werkzeug/commit/517cac5a804e8c4dc4ed038bb20dacd038e7a9f1 No Types Assigned https://github.com/pallets/werkzeug/commit/517cac5a804e8c4dc4ed038bb20dacd038e7a9f1 Patch Changed Reference Type https://github.com/pallets/werkzeug/releases/tag/2.2.3 No Types Assigned https://github.com/pallets/werkzeug/releases/tag/2.2.3 Release Notes Changed Reference Type https://github.com/pallets/werkzeug/security/advisories/GHSA-xg9f-g7g7-2323 No Types Assigned https://github.com/pallets/werkzeug/security/advisories/GHSA-xg9f-g7g7-2323 Vendor Advisory Added CWE NIST CWE-770 Added CPE Configuration OR *cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:* versions up to (excluding) 2.2.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-25577
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-2023-25577
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.25 }} 0.04%
score
0.64982
percentile