vulnerability
Ubuntu: USN-7642-1 (CVE-2024-27306): AIOHTTP vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:M/Au:N/C:P/I:P/A:N) | Apr 18, 2024 | Jul 11, 2025 | Mar 27, 2026 |
Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
Apr 18, 2024
Added
Jul 11, 2025
Modified
Mar 27, 2026
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.
Solution
ubuntu-pro-upgrade-python3-aiohttp
References
- CVE-2024-27306
- https://attackerkb.com/topics/CVE-2024-27306
- CWE-79
- CWE-80
- EUVD-EUVD-2024-1143
- UBUNTU-USN-7642-1
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1143
- https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
- https://github.com/aio-libs/aiohttp/pull/8319
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
- https://www.cve.org/CVERecord?id=CVE-2024-27306
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.