XSS in Aiohttp
CVE-2024-27306
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.007 (49.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 50th percentile — 49.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Aiohttp
- Aio-Libs Aiohttp — versions < 3.9.4
- Fedoraproject Fedora — versions 38, 39, 40
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-7gpw-8wmc-pm8g (Vendor Advisory)
- github.com/aio-libs/aiohttp/pull/8319 (Issue Tracking)
- github.com/aio-libs/aiohttp/commit/28335525d1eac015a7e7584137678cbb6ff19397 (Patch)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2024-27306?
- CVE-2024-27306 is a medium-severity vulnerability in Aiohttp, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2024-04-18.
- How severe is CVE-2024-27306?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2024-27306 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.