Skip to content
OpenAdvisories

Description

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In affected versions an attacker can send a specially crafted POST (multipart/form-data) request. When the aiohttp server processes it, the server will enter an infinite loop and be unable to process any further requests. An attacker can stop the application from serving requests after sending a single request. This issue has been addressed in version 3.9.4. Users are advised to upgrade. Users unable to upgrade may manually apply a patch to their systems. Please see the linked GHSA for instructions.

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 3.8.4-1+deb12u1 DSA-5828-1
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 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
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
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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.21.1 SUSE-SU-2024:4328-1
SLES 15 SP5 python-aiohttp 3.6.0-150100.3.21.1 SUSE-SU-2024:4328-1
SLES 15 SP4 python-aiohttp 3.6.0-150100.3.21.1 SUSE-SU-2024:4328-1, SUSE-SU-2024:4327-1
SLES 15 SP3 python-aiohttp 3.6.0-150100.3.21.1 SUSE-SU-2024:4328-1
SLES 15 SP2 python-aiohttp 3.6.0-150100.3.21.1 SUSE-SU-2024:4328-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 python-aiohttp 3.9.3-150400.10.30.1 SUSE-SU-2024:4327-1
SLES for SAP 15 SP4 python-aiohttp 3.9.3-150400.10.30.1 SUSE-SU-2024:4327-1
SLE HPC 15 SP4 python-aiohttp 3.9.3-150400.10.30.1 SUSE-SU-2024:4327-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 python-aiohttp 3.9.3-150400.10.30.1 SUSE-SU-2024:4327-1
openSUSE Leap 15.5 python-aiohttp 3.6.0-150100.3.21.1 SUSE-SU-2024:4328-1, SUSE-SU-2024:4327-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 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI aiohttp < 3.9.4 3.9.4 GHSA-5m98-qgg9-wh84

Advisories 10

References