Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835803 (CVE-2022-24766) - <net-proxy/mitmproxy-8.0.0: http request smuggling
Summary: <net-proxy/mitmproxy-8.0.0: http request smuggling
Status: RESOLVED FIXED
Alias: CVE-2022-24766
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/mitmproxy/mitmprox...
Whiteboard: B4 [noglsa]
Keywords:
Depends on: 835809 857150
Blocks:
  Show dependency tree
 
Reported: 2022-03-22 13:20 UTC by John Helmert III
Modified: 2022-07-10 15:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-03-22 13:20:03 UTC
CVE-2022-24766:

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.
Comment 1 Larry the Git Cow gentoo-dev 2022-04-28 17:37:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c4ab640e100fe8f29ee6cfe6bf0e9d822183890

commit 2c4ab640e100fe8f29ee6cfe6bf0e9d822183890
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2022-04-28 17:12:42 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2022-04-28 17:36:58 +0000

    net-proxy/mitmproxy: add 8.0.0
    
    Closes: https://bugs.gentoo.org/835809
    Bug: https://bugs.gentoo.org/835803
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 net-proxy/mitmproxy/Manifest               |  1 +
 net-proxy/mitmproxy/mitmproxy-8.0.0.ebuild | 70 ++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 13:46:51 UTC
Please cleanup
Comment 3 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-10 15:43:50 UTC
Impact is minimal, no GLSA.