CVE-2021-39214
CRITICAL 9.8CVSS 3.1Lacking Protection against HTTP Request Smuggling in mitmproxy
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.
- Published
- 16 Sep 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-444
- Also known as
- GHSA-22gh-3r9q-xf38PYSEC-2021-328
- Sources
- NVDJSONOSV GHSA-22gh-3r9q-xf38JSONOSV PYSEC-2021-328JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mitmproxy | mitmproxycpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:* |
<= 7.0.2 | |
| OSV | PyPI | mitmproxy | < 7.0.3 | 7.0.3 |
References
- https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-22gh-3r9q-xf38 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-39214 · ADVISORY
- https://github.com/mitmproxy/mitmproxy · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2021-328.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 16 Sep 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Sep 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Sep 2021)