CVE-2023-46136

Aliases:GHSA-hrfv-mqp8-q5rwPYSEC-2023-221
Modified
Published: 24 Oct 2023, 23:48
Last modified:20 May 2026, 22:17

Vulnerability Summary

Overall Risk (default)
medium
32/100
CVSS Score
8 HIGH
v3.1 (cve.org)
EPSS Score
0.88% LOW
1% probability +0.32%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

24 Oct 2023, 23:48
Published
Vulnerability first disclosed
20 May 2026, 22:17
Last Modified
Vulnerability information updated

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 Metrics

  • v3.1HIGHScore: 8CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v3.1MEDIUMScore: 5.7CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.88% Percentile: 76%

Techniques & Countermeasures

  • CWE-400Uncontrolled Resource Consumption

    The product does not properly control the allocation and maintenance of a limited resource.

  • CWE-407Inefficient Algorithmic Complexity

    An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • palletswerkzeug

    < 3.0.1 | ≥ 3.0.0, < 3.0.1 | ≥ 2.0.0rc1, < 2.3.8

  • palletsprojectswerkzeug

    < 2.3.8 | 3.0.0

  • PyPIwerkzeug

    < f2300208d5e2a5076cbbb4c2aad71096fd040ef9 | < 2.3.8 | ≥ 3.0.0, < 3.0.1 | ≥ 2.0.0rc1, < 2.3.8

References (10)