Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
aio-libs aiohttp < 3.9.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-aiohttp 3.9.5-1 —
Debian 13 python-aiohttp 3.9.5-1 —
Debian 12 python-aiohttp No fix yet —
Debian 11 python-aiohttp 3.7.4-1+deb11u1 DLA-4041-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS python-aiohttp 3.9.1-1ubuntu0.1+esm1 USN-7642-1
Ubuntu Pro 22.04 LTS python-aiohttp 3.8.1-4ubuntu0.2+esm1 USN-7642-1
Ubuntu Pro 20.04 LTS python-aiohttp 3.6.2-1ubuntu1+esm4 USN-7642-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS python-aiohttp 3.0.1-1ubuntu0.1~esm5 USN-7642-1
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 python-aiohttp +1 3.9.4-1.el8pc RHSA-2024:5662
Red Hat Satellite Capsule 6 python-django +1 4.2.14-1.el8pc RHSA-2024:5662
Red Hat Satellite Capsule 6 python-jinja2 +1 3.1.4-1.el8pc RHSA-2024:5662
Red Hat Satellite Capsule 6 python-pillow +1 10.3.0-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-aiohttp +1 3.9.4-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-django +1 4.2.14-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-jinja2 +1 3.1.4-1.el8pc RHSA-2024:5662
Red Hat Satellite 6 python-pillow +1 10.3.0-1.el8pc RHSA-2024:5662
Red Hat Rhui 4 python-aiohttp +1 3.9.4-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-cryptography +1 42.0.8-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-django +1 4.2.15-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-grpcio +1 1.65.4-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-gunicorn +1 22.0.0-1.0.1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-jinja2 +1 3.1.4-1.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-requests +1 2.32.3-2.el8ui RHSA-2025:1335
Red Hat Rhui 4 python-sqlparse +1 0.5.0-1.el8ui RHSA-2025:1335
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 python-black +1 22.8.0-2.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python-cryptography +1 42.0.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python-jinja2 +1 3.1.4-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python39-black +1 22.8.0-2.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python39-cryptography +1 42.0.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 python39-jinja2 +1 3.1.4-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Inside 2 receptor +1 1.4.8-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-black +1 22.8.0-2.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-cryptography +1 42.0.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-idna +1 3.7-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-jinja2 +1 3.1.4-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python-requests +1 2.32.2-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-black +1 22.8.0-2.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-cryptography +1 42.0.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-idna +1 3.7-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-jinja2 +1 3.1.4-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 python39-requests +1 2.32.2-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform Developer 2 receptor +1 1.4.8-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 automation-controller-venv-tower 4.5.7-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 automation-hub +2 4.9.2-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-aiohttp +1 3.9.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-black +1 22.8.0-2.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-cryptography +1 42.0.5-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-galaxy-ng +1 4.9.2-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-gunicorn +1 22.0.0-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-idna +1 3.7-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-jinja2 +1 3.1.4-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-pillow +1 10.3.0-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-pydantic +1 1.10.15-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-requests +1 2.32.2-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-social-auth-app-django +1 5.4.1-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python-sqlparse +1 0.5.0-1.el9ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-aiohttp +1 3.9.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-black +1 22.8.0-2.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-cryptography +1 42.0.5-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-gunicorn +1 22.0.0-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-idna +1 3.7-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-jinja2 +1 3.1.4-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-pillow +1 10.3.0-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-pydantic +1 1.10.15-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-requests +1 2.32.2-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-social-auth-app-django +1 5.4.1-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 python39-sqlparse +1 0.5.0-1.el8ap RHSA-2024:3781
Red Hat Ansible Automation Platform 2 receptor +1 1.4.8-1.el8ap RHSA-2024:3781
ReleasePackageFixed inAdvisory
SLES 15 SP6 python-aiohttp 3.6.0-150100.3.24.1 SUSE-SU-2024:4396-1
SLES 15 SP5 python-aiohttp 3.6.0-150100.3.24.1 SUSE-SU-2024:4396-1
SLES 15 SP4 python-aiohttp 3.6.0-150100.3.24.1 SUSE-SU-2024:4396-1, SUSE-SU-2024:1866-1
SLES 15 SP3 python-aiohttp 3.6.0-150100.3.24.1 SUSE-SU-2024:4396-1
SLES 15 SP2 python-aiohttp 3.6.0-150100.3.24.1 SUSE-SU-2024:4396-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 python-aiohttp 3.9.3-150400.10.21.1 SUSE-SU-2024:1866-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-aiohttp 3.9.5-2.1 openSUSE-SU-2026:11467-1, openSUSE-SU-2024:13965-1
openSUSE Leap 15.6 python-aiohttp 3.9.3-150400.10.21.1 SUSE-SU-2024:1866-1
openSUSE Leap 15.5 python-aiohttp 3.6.0-150100.3.24.1 SUSE-SU-2024:4396-1, SUSE-SU-2024:1866-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-aiohttp No fix yet —
Azure Linux 2 (CBL-Mariner) python-aiohttp No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling checkov 3.0.34-r1 —
Wolfi rolling dask-gateway +1 2024.1.0-r4 —
Wolfi rolling kserve +9 0.13.1-r3 —
Wolfi rolling py3-cassandra-medusa +1 0.20.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI aiohttp < 3.9.4 3.9.4 GHSA-7gpw-8wmc-pm8g

Advisories 10

References