Resource Exhaustion Affecting python-werkzeug package, versions <3.0.1-3ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (25th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2404-PYTHONWERKZEUG-8309243
  • published30 Oct 2024
  • disclosed25 Oct 2024

Introduced: 25 Oct 2024

CVE-2024-49767  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 python-werkzeug to version 3.0.1-3ubuntu0.2 or higher.

NVD Description

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

Werkzeug is a Web Server Gateway Interface web application library. Applications using werkzeug.formparser.MultiPartParser corresponding to a version of Werkzeug prior to 3.0.6 to parse multipart/form-data requests (e.g. all flask applications) are vulnerable to a relatively simple but effective resource exhaustion (denial of service) attack. A specifically crafted form submission request can cause the parser to allocate and block 3 to 8 times the upload size in main memory. There is no upper limit; a single upload at 1 Gbit/s can exhaust 32 GB of RAM in less than 60 seconds. Werkzeug version 3.0.6 fixes this issue.

CVSS Scores

version 3.1