CVE-2022-24766 json
Insufficient Protection against HTTP Request Smuggling in mitmproxy
published 2022-03-21 4 y ago modified 2026-06-17 4 mo ago also GHSA-gcx2-gvj7-pxv3 , PYSEC-2022-170 , EUVD-2022-0156
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi mitmproxy 8.0.0
- mitmproxy Debian 14, Debian 12 8.1.1-1
debian advisories DEBIAN-CVE-2022-24766
- python-mitmproxy openSUSE Tumbleweed 11.1.2-1.1
opensuse advisories openSUSE-SU-2025:14762-1
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.63% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | mitmproxy | <8.0.0 |
8.0.0 |
Affected products
- mitmproxy mitmproxy
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
References
-
github.com
/mitmproxy/mitmproxy/commit/b06fb6d157087d526bd02e7aadbe37c56865c71b
web, patch, third-party-advisory
-
mitmproxy.org
/posts/releases/mitmproxy8/
release-notes, vendor-advisory, web
-
github.com
/mitmproxy/mitmproxy/security/advisories/GHSA-gcx2-gvj7-pxv3
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24766
advisory
-
github.com
/mitmproxy/mitmproxy
package
-
github.com
/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2022-170.yaml
web
-
mitmproxy.org
/posts/releases/mitmproxy8
web
Sources
- CVE List CVE-2022-24766
- GitHub Advisory GHSA-gcx2-gvj7-pxv3
- NVD CVE-2022-24766
- OSV PYSEC-2022-170
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.