Name | CVE-2024-27306 |
Description | aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. A XSS vulnerability exists on index pages for static file handling. This vulnerability is fixed in 3.9.4. We have always recommended using a reverse proxy server (e.g. nginx) for serving static files. Users following the recommendation are unaffected. Other users can disable `show_index` if unable to upgrade. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1070665 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-aiohttp (PTS) | stretch | 1.2.0-1 | vulnerable |
| buster (security), buster, buster (lts) | 3.5.1-1+deb10u1 | vulnerable |
| bullseye | 3.7.4-1 | vulnerable |
| bookworm | 3.8.4-1 | vulnerable |
| sid, trixie | 3.10.10-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - python-aiohttp <no-dsa> (Minor issue)
[bullseye] - python-aiohttp <no-dsa> (Minor issue)
[buster] - python-aiohttp <postponed> (Minor issue)
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
https://github.com/aio-libs/aiohttp/pull/8319
https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397 (v3.9.4)