CVE-2023-46136

High

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.

SeverityHigh
CVSS8.0
Exploit probability—
ProductPalletsprojects Werkzeug
PublishedOct 25, 2023
First seenOct 25, 2023

How to fix

Update
  • palletsprojects werkzeug2.3.8 or later
  • werkzeug3.0.1, 2.3.8 or later

Affected products

ProductAffected versionsFixed in
palletsprojects werkzeugv < 2.3.8, 3.0.02.3.8
werkzeugPyPI3.0.0 ≤ v < 3.0.1, 2.0.0rc1 ≤ v < 2.3.8, v < 2.3.83.0.1, 2.3.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-46136 · Palletsprojects Werkzeug · Dark Radar