CVEfocus › CVE database › CVE-2022-24766

CVE-2022-24766Insufficient Protection against HTTP Request Smuggling in mitmproxy

CVSS 9.8 CriticalEPSS 1.5% (higher than 74% of CVEs)Published 2022-03-21Updated 2025-04-23Assigner: GitHub_M

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.

CWE-444

What to do

Fixed builds are available from 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

3Fixed
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-2022-24766
Ubuntu 26.04mitmproxyUnder investigationUBUNTU-CVE-2022-24766
Ubuntu 25.10mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24766
Ubuntu 24.04mitmproxyUnder investigationUBUNTU-CVE-2022-24766
Ubuntu 22.04mitmproxyUnder investigationUBUNTU-CVE-2022-24766
Ubuntu 20.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24766
Ubuntu 18.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24766
Ubuntu 16.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-24766
Ubuntu 14.04mitmproxyWill not fix
Ubuntu decided not to fix this in this release
Debian 14mitmproxyFixed8.1.1-1DEBIAN-CVE-2022-24766
Debian 12mitmproxyFixed8.1.1-1DEBIAN-CVE-2022-24766
PyPI librarymitmproxyFixed8.0.0PYSEC-2022-170

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.