PT-2021-22466 · Mitmproxy+1 · Mitmproxy+1
Chinchila
+1
·
Published
2021-09-16
·
Updated
2023-08-20
·
CVE-2021-39214
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
mitmproxy versions 7.0.2 and below
Description
A malicious client or server can 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.
Recommendations
For mitmproxy versions 7.0.2 and below, update to mitmproxy 7.0.3 or above to fix the vulnerability. Unless mitmproxy is used to protect an HTTP/1 service, no action is required. As a temporary workaround, consider restricting access to the HTTP message body to minimize the risk of exploitation.
Fix
HTTP Request/Response Smuggling
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Mitmproxy