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 | Aug 18, 2025 |
Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
Apr 18, 2024
Added
Jul 11, 2025
Modified
Aug 18, 2025
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
- UBUNTU-USN-7642-1
- URL-https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
- URL-https://github.com/aio-libs/aiohttp/pull/8319
- URL-https://github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g
- URL-https://www.cve.org/CVERecord?id=CVE-2024-27306
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.