Name | CVE-2023-46136 |
Description | Werkzeug is a comprehensive WSGI web application library. 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1054553 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-werkzeug (PTS) | bullseye (security), bullseye | 1.0.1+dfsg1-2+deb11u1 | fixed |
| bookworm | 2.2.2-3 | vulnerable |
| sid, trixie | 3.1.3-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - python-werkzeug <no-dsa> (Minor issue)
[bullseye] - python-werkzeug <not-affected> (Vulnerable code introduced later)
[buster] - python-werkzeug <not-affected> (Vulnerable code introduced later)
https://github.com/pallets/werkzeug/security/advisories/GHSA-hrfv-mqp8-q5rw
Introduced by: https://github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5 (2.0.0rc1)
https://github.com/pallets/werkzeug/commit/b1916c0c083e0be1c9d887ee2f3d696922bfc5c1 (3.0.1)