High severity · published Oct 25, 2023
CVE-2023-46136
Werkzeug is a comprehensive WSGI web application library
7.5
CVSS
1.3%
EPSS
No
On KEV
Description
Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. 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. This vulnerability has been patched in version 3.0.1 and 2.3.8.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
Werkzeug · Palletsprojects
before 2.3.8; 3.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-46136
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-46136
Patch
https://github.com/pallets/werkzeug/commit/f3c803b3ade485a45f12b6d6617595350c0f03e2
Vendor Advisory
https://github.com/pallets/werkzeug/security/advisories/GHSA-hrfv-mqp8-q5rw
Third Party Advisory
https://security.netapp.com/advisory/ntap-20231124-0008/
More from Werkzeug
9.8
CVE-2022-29361
Improper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a crafted HTTP request with multiple requests…
7.5
CVE-2024-49767
Werkzeug is a Web Server Gateway Interface web application library
7.5
CVE-2024-34069
Werkzeug is a comprehensive WSGI web application library
7.5
CVE-2023-25577
Werkzeug is a comprehensive WSGI web application library
7.5
CVE-2019-14806
Pallets Werkzeug before 0.15.3, when used with Docker, has insufficient debugger PIN randomness because Docker containers share the same machine id
