CVE-2024-27306 Affecting python-aiohttp package, versions <3.9.1-1ubuntu0.1+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.67% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2404-PYTHONAIOHTTP-6692967
  • published11 Jul 2025
  • disclosed18 Apr 2024

Introduced: 18 Apr 2024

CVE-2024-27306  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 python-aiohttp to version 3.9.1-1ubuntu0.1+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-aiohttp package and not the python-aiohttp package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1