Ubuntu CVE Tracker
UBUNTU-CVE-2024-27306
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | python-aiohttp | All versions before 3.0.1-1ubuntu0.1~esm5 (fixed in 3.0.1-1ubuntu0.1~esm5) |
| Ubuntu:Pro:22.04:LTS | python-aiohttp | All versions before 3.8.1-4ubuntu0.2+esm1 (fixed in 3.8.1-4ubuntu0.2+esm1) |
| Ubuntu:Pro:24.04:LTS | python-aiohttp | All versions before 3.9.1-1ubuntu0.1+esm1 (fixed in 3.9.1-1ubuntu0.1+esm1) |
References
- https://ubuntu.com/security/CVE-2024-27306
- 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
- https://github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397
- https://ubuntu.com/security/notices/USN-7642-1