Bugzilla – Bug 1217174
VUL-0: CVE-2023-47641: python-aiohttp: inconsistent interpretation of the http protocol
Last modified: 2024-06-10 10:40:07 UTC
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Affected versions of aiohttp have a security vulnerability regarding the inconsistent interpretation of the http protocol. HTTP/1.1 is a persistent protocol, if both Content-Length(CL) and Transfer-Encoding(TE) header values are present it can lead to incorrect interpretation of two entities that parse the HTTP and we can poison other sockets with this incorrect interpretation. A possible Proof-of-Concept (POC) would be a configuration with a reverse proxy(frontend) that accepts both CL and TE headers and aiohttp as backend. As aiohttp parses anything with chunked, we can pass a chunked123 as TE, the frontend entity will ignore this header and will parse Content-Length. The impact of this vulnerability is that it is possible to bypass any proxy rule, poisoning sockets to other users like passing Authentication Headers, also if it is present an Open Redirect an attacker could combine it to redirect random users to another website and log the request. This vulnerability has been addressed in release 3.8.0 of aiohttp. Users are advised to upgrade. There are no known workarounds for this vulnerability. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-47641 https://github.com/aio-libs/aiohttp/security/advisories/GHSA-xx9p-xxvh-7g8j
Affected package: - SUSE:SLE-15-SP1:Update/python-aiohttp Upstream patch: https://github.com/aio-libs/aiohttp/commit/f016f0680e4ace6742b03a70cb0382ce86abe371
submitted back to the security team created request id 313461
SUSE-SU-2023:4909-1: An update that solves one vulnerability can now be installed. Category: security (moderate) Bug References: 1217174 CVE References: CVE-2023-47641 Sources used: openSUSE Leap 15.4 (src): python-aiohttp-3.6.0-150100.3.12.1 openSUSE Leap 15.5 (src): python-aiohttp-3.6.0-150100.3.12.1 Public Cloud Module 15-SP1 (src): python-aiohttp-3.6.0-150100.3.12.1 Public Cloud Module 15-SP2 (src): python-aiohttp-3.6.0-150100.3.12.1 Public Cloud Module 15-SP3 (src): python-aiohttp-3.6.0-150100.3.12.1 Public Cloud Module 15-SP4 (src): python-aiohttp-3.6.0-150100.3.12.1 Public Cloud Module 15-SP5 (src): python-aiohttp-3.6.0-150100.3.12.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Robert, can we close this as fixed?
Released.
SUSE-SU-2024:0577-1: An update that solves four vulnerabilities and has one security fix can now be installed. Category: security (important) Bug References: 1217174, 1217181, 1217782, 1219341, 1219342 CVE References: CVE-2023-47627, CVE-2023-47641, CVE-2024-23334, CVE-2024-23829 Sources used: openSUSE Leap 15.4 (src): python-aiohttp-3.9.3-150400.10.14.1, python-time-machine-2.13.0-150400.9.3.1 openSUSE Leap 15.5 (src): python-aiohttp-3.9.3-150400.10.14.1 Python 3 Module 15-SP5 (src): python-aiohttp-3.9.3-150400.10.14.1 SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): python-aiohttp-3.9.3-150400.10.14.1 SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): python-aiohttp-3.9.3-150400.10.14.1 SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): python-aiohttp-3.9.3-150400.10.14.1 SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): python-aiohttp-3.9.3-150400.10.14.1 SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): python-aiohttp-3.9.3-150400.10.14.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.