Out-of-bounds Write Affecting py3-werkzeug package, versions <3.0.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-PY3WERKZEUG-6247442
  • published14 Feb 2024
  • disclosed25 Oct 2023

Introduced: 25 Oct 2023

CVE-2023-46136  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Wolfi py3-werkzeug to version 3.0.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-werkzeug package and not the py3-werkzeug package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Scores

version 3.1