Advisory

GHSA-8495-4g3g-x7pr

Also known as: CVE-2024-52304, PYSEC-2026-1103

Summary

aiohttp allows request smuggling due to incorrect parsing of chunk extensions

Details

Summary
The Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions.

Impact
If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or AIOHTTP_NO_EXTENSIONS is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/259edc369075de63e6f3a4eaade058c62af0df71

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-11-18 21:02 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

aiohttp

PyPI · All systems

Affected

  • introduced 0, fixed 3.10.11 (ecosystem)

Fixed versions

3.10.11

Fix

  • Fixed version 3.10.11
    pip install --upgrade aiohttp==3.10.11

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences