PT-2023-8840 · Aiohttp+3 · Aiohttp+3

Dreamsorcerer

·

Published

2023-11-14

·

Updated

2025-02-03

·

CVE-2023-47641

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions aiohttp versions prior to 3.8.0
Description The issue is related to the inconsistent interpretation of the HTTP protocol, specifically when both Content-Length and Transfer-Encoding headers are present. This can lead to incorrect interpretation by entities parsing the HTTP, allowing for socket poisoning. A possible scenario involves a reverse proxy setup with aiohttp as the backend, where an attacker can bypass proxy rules, pass authentication headers, or combine with an Open Redirect to redirect users to another website. The estimated number of potentially affected devices is not specified.
Recommendations For versions prior to 3.8.0, upgrade to release 3.8.0 or later to address the security vulnerability. As a temporary workaround, consider restricting the use of the Transfer-Encoding header or disabling the parsing of chunked requests until a patch is applied. Avoid using configurations that accept both Content-Length and Transfer-Encoding headers. Restrict access to sensitive areas of the application to minimize the risk of exploitation.

Exploit

Fix

HTTP Request/Response Smuggling

Weakness Enumeration

Related Identifiers

ALT-PU-2022-7649
ALT-PU-2024-16702
AZL-43519
AZL-44538
BDU:2024-02174
CVE-2023-47641
DLA-4041-1
GHSA-XX9P-XXVH-7G8J
OESA-2023-1854
OPENSUSE-SU-2024:13691-1
PYSEC-2023-247
SUSE-SU-2023:4909-1
SUSE-SU-2023_4909-1
SUSE-SU-2024:0577-1

Affected Products

Alt Linux
Red Os
Suse
Aiohttp