CVE-2022-24766
Description
mitmproxy is an interactive, SSL/TLS-capable intercepting proxy. In mitmproxy 7.0.4 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 mitmproxy would only see one request, the target server would see multiple requests. A smuggled request is still captured as part of another request's body, but 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 mitmproxy is used to protect an HTTP/1 service, no action is required. The vulnerability has been fixed in mitmproxy 8.0.0 and above. There are currently no known workarounds.
Weakness
- CWE-444: Inconsistent Interpretation of HTTP Requests
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-04-23 |
Timeline
- 2022-03-21Published by the CNA18:50 UTC
- 2022-03-22GitHub advisory published (GHSA-gcx2-gvj7-pxv3)1 day after publication
- 2025-04-23CISA SSVC decision recorded1129 days after publication
Exploit and advisory records
GitHub advisory GHSA-gcx2-gvj7-pxv3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI mitmproxy | before 8.0.0 | 8.0.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| mitmproxy mitmproxy | through 7.0.4no fix listed | not listed |
References
- https://github.com/mitmproxy/mitmproxy/commit/b06fb6d157087d526bd02e7aadbe37c56865c71b
- https://mitmproxy.org/posts/releases/mitmproxy8/
- https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-gcx2-gvj7-pxv3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-24766'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-24766'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-24766'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-24766'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).