CVEfocus › CVE database › CVE-2021-39214

CVE-2021-39214Lacking Protection against HTTP Request Smuggling in mitmproxy

CVSS 8.1 HighEPSS 1.3% (higher than 70% of CVEs)Published 2021-09-16Updated 2024-08-04Assigner: GitHub_M

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.

CWE-444

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
1Fix pending
3Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mitmproxyFix pendingUBUNTU-CVE-2021-39214
Ubuntu 26.04mitmproxyUnder investigationUBUNTU-CVE-2021-39214
Ubuntu 25.10mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-39214
Ubuntu 24.04mitmproxyUnder investigationUBUNTU-CVE-2021-39214
Ubuntu 22.04mitmproxyUnder investigationUBUNTU-CVE-2021-39214
Ubuntu 20.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-39214
Ubuntu 18.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-39214
Ubuntu 16.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-39214
Ubuntu 14.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
Debian 14mitmproxyFixed8.1.1-1DEBIAN-CVE-2021-39214
Debian 12mitmproxyFixed8.1.1-1DEBIAN-CVE-2021-39214
Alpine Linux 3.24mitmproxyFixed7.0.3-r0ALPINE-CVE-2021-39214
Alpine Linux 3.23mitmproxyFixed7.0.3-r0ALPINE-CVE-2021-39214
Alpine Linux 3.22mitmproxyFixed7.0.3-r0ALPINE-CVE-2021-39214
Alpine Linux 3.21mitmproxyFixed7.0.3-r0ALPINE-CVE-2021-39214
PyPI librarymitmproxyFixed7.0.3GHSA-22gh-3r9q-xf38

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.