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.
How to fix
- aiohttp aiohttp3.9.4 or later
- aiohttp3.9.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| aiohttp aiohttp | v < 3.9.4 | 3.9.4 |
| fedoraproject fedora | 38, 39, 40 | — |
| aiohttpPyPI | v < 3.9.4 | 3.9.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.