CVE-2024-27306
aiohttp Cross-site Scripting vulnerability on index pages for static file handling
6.1
MEDIUM
CVSS 3.1
EPSS 0.71%
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 CVE-2024-27306
To remediate CVE-2024-27306, upgrade the affected package to a fixed version below.
- —upgrade to 3.7.4-1+deb11u1 or later
- —upgrade to 3.9.4 or later
Is CVE-2024-27306 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.7.4-1+deb11u1
- from 0, < 3.9.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |