cve.bz

CVE-2021-39214 mitmproxy mitmproxy: HTTP Request Smuggling

9.8 criticalEPSS 1.1%Fix available

Critical (9.8) in mitmproxy mitmproxy. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in mitmproxy 7.0.3.

On this page
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.2 and below, a malicious client or server is able to perform HTTP request smuggling attacks through mitmproxy. This means that a malicious client/server could smuggle a request/response through mitmproxy as part of another request/response's HTTP message body. While a smuggled request is still captured as part of another request's body, it does not appear in the request list and does not go through the usual mitmproxy event hooks, where users may have implemented custom access control checks or input sanitization. Unless one uses mitmproxy to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 7.0.3 and above.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-39214 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-39214?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-39214?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-39214 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mitmproxy:mitmproxythrough 7.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-22gh-3r9q-xf38PyPImitmproxy<7.0.37.0.3
PYSEC-2021-328PyPImitmproxy<7.0.37.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 14mitmproxy8.1.1-1DEBIAN-CVE-2021-39214
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moremitmproxyno fix listedUBUNTU-CVE-2021-39214
SUSEPackage Hub 15 SP4python-mitmproxy3.0.4-bp154.2.3.1openSUSE-SU-2023:0232-1
SUSEPackage Hub 15 SP5python-mitmproxy3.0.4-bp155.3.3.1openSUSE-SU-2023:0233-1
openSUSELeap 15.4python-mitmproxy3.0.4-bp154.2.3.1openSUSE-SU-2023:0232-1
openSUSELeap 15.5python-mitmproxy3.0.4-bp155.3.3.1openSUSE-SU-2023:0233-1
Alpinev3.21, v3.22, v3.23 and 1 moremitmproxy7.0.3-r0ALPINE-CVE-2021-39214

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON