Resource Exhaustion Affecting mitmproxy package, versions <12.2.2-r1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.38% (31st 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-CHAINGUARDLATEST-MITMPROXY-16054450
  • published15 Apr 2026
  • disclosed11 Mar 2026

Introduced: 11 Mar 2026

CVE-2026-31958  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Chainguard mitmproxy to version 12.2.2-r1 or higher.

NVD Description

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

Tornado is a Python web framework and asynchronous networking library. In versions of Tornado prior to 6.5.5, the only limit on the number of parts in multipart/form-data is the max_body_size setting (default 100MB). Since parsing occurs synchronously on the main thread, this creates the possibility of denial-of-service due to the cost of parsing very large multipart bodies with many parts. This vulnerability is fixed in 6.5.5.

CVSS Base Scores

version 3.1