CVE-2024-27306
Publication date 18 April 2024
Last updated 18 July 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python-aiohttp | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Fixed 3.9.1-1ubuntu0.1+esm1
|
|
| 22.04 LTS jammy |
Fixed 3.8.1-4ubuntu0.2+esm1
|
|
| 20.04 LTS focal |
Fixed 3.6.2-1ubuntu1+esm4
|
|
| 18.04 LTS bionic |
Fixed 3.0.1-1ubuntu0.1~esm5
|
|
| 16.04 LTS xenial |
Not affected
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Changed |
| Confidentiality | Low |
| Integrity impact | Low |
| Availability impact | None |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-7642-1
- AIOHTTP vulnerabilities
- 17 July 2025
Other references
- https://www.cve.org/CVERecord?id=CVE-2024-27306
- 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)
- https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397