Lacking Protection against HTTP Request Smuggling in mitmproxy
Impact
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 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 you use mitmproxy to protect an HTTP/1 service, no action is required.
Patches
The vulnerability has been fixed in mitmproxy 7.0.3 and above.
Acknowledgements
We thank João Sobral (@chinchila) for responsibly disclosing this vulnerability to the mitmproxy team.
Timeline
- 2021-09-08: Received initial report for mitmproxy <= 6.0.2.
- 2021-09-08: Requested clarification if 7.x is affected.
- 2021-09-10: Received additional details, 7.x situation still unclear.
- 2021-09-13: Internally determined that 7.x is also affected.
- 2021-09-13: Shared initial fix with researcher.
- 2021-09-14: Received confirmation that fix is working, but H2.TE/H2.CL should also be looked at.
- 2021-09-14: Shared revised fix that includes additional H2.TE mitigations.
- 2021-09-14: Received confirmation that revised fix is working.
- 2021-09-16: Completed internal patch review.
- 2021-09-16: Published patch release and advisory.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | mitmproxy | < 7.0.3 | 7.0.3 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-444- Plattform
- Python (PyPI)
- Paket
mitmproxy- Veröffentlicht
- 16.09.2021
- Aktualisiert
- 11.10.2026 13:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2021-328 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-22gh-3r9q-xf38 - CC BY 4.0
Schwachstellenhistorie: mitmproxy
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 6
- Erste → letzte
- 07.2018 04.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 3
- Hoch 1
- Mittel 2
Veröffentlichungen pro Jahr
- 2018: 1
- 2019: 0
- 2020: 0
- 2021: 1
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 2
- 2026: 1
-
Lacking Protection against HTTP Request Smuggling in mitmproxy dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.