SCA: security update for aiohttp (GHSA-xx9p-xxvh-7g8j)

low Tenable Cloud Security Plugin ID 420737

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-47641)

See Also

https://github.com/advisories/GHSA-xx9p-xxvh-7g8j

Plugin Details

Severity: Low

ID: 420737

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.51

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2023-47641

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Low

Base Score: 2.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/14/2023

Vulnerability Publication Date: 11/14/2023

Reference Information

CVE: CVE-2023-47641

cwe: CWE-444