Inefficient Algorithmic Complexity Affecting werkzeug package, versions [,2.3.8)[3.0.0,3.0.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. 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-PYTHON-WERKZEUG-6035177
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditPaweł Srokosz

Introduced: 25 Oct 2023

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

How to fix?

Upgrade werkzeug to version 2.3.8, 3.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity in multipart data parsing. An attacker can cause a denial of service and block worker processes from handling legitimate requests by sending crafted multipart data to an endpoint that will parse it, eventually exhausting or killing all available workers.

Exploiting this vulnerability is possible if the uploaded file starts with CR or LF and is followed by megabytes of data without these characters.

CVSS Scores

version 3.1