cve.bz

CVE-2023-49081 aiohttp aiohttp: Improper Input Validation

5.3 mediumExploit referenceEPSS 0.9%Fix available

Medium (5.3) in aiohttp aiohttp. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in aiohttp 3.9.0.

On this page
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation made it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or create a new HTTP request if the attacker controls the HTTP version. The vulnerability only occurs if the attacker can control the HTTP version of the request. This issue has been patched in version 3.9.0.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2023-11-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-49081 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-49081?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-49081?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-49081 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
aiohttp:aiohttpbefore 3.9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q3qx-c6g2-7pw2PyPIaiohttp<3.9.03.9.0
PYSEC-2023-250PyPIaiohttp<3.9.03.9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-aiohttp3.7.4-1+deb11u1DLA-4041-1
Debian12python-aiohttp3.8.4-1+deb12u1DEBIAN-CVE-2023-49081 DSA-5828-1
Debian13, 14python-aiohttp3.9.1-1DEBIAN-CVE-2023-49081
UbuntuPro:18.04:LTSpython-aiohttp3.0.1-1ubuntu0.1~esm5UBUNTU-CVE-2023-49081 USN-7642-1
UbuntuPro:20.04:LTSpython-aiohttp3.6.2-1ubuntu1+esm4USN-7642-1
UbuntuPro:22.04:LTSpython-aiohttp3.8.1-4ubuntu0.2+esm1UBUNTU-CVE-2023-49081 USN-7642-1
UbuntuPro:24.04:LTSpython-aiohttp3.9.1-1ubuntu0.1+esm1USN-7642-1
Red Hatansible_automation_platform:2.4::el8ansible-automation-platform-installer0:2.4-6.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8ansible-rulebook, automation-eda-controller, automation-eda-controller-ui and 1 more0:1.0.5-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more0:3.9.1-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.10-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more0:10.0.1-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8python39-pycryptodomex, python3x-pycryptodomex, python39-pycryptodomex-debuginfo and 1 more0:3.20.0-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8python39-jinja2, python3x-jinja20:3.1.3-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8python39-pygments, python3x-pygments0:2.17.2-1.el8apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9ansible-automation-platform-installer0:2.4-6.el9apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9ansible-rulebook, automation-eda-controller, automation-eda-controller-ui and 1 more0:1.0.5-1.el9apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9python-aiohttp, python3-aiohttp, python3-aiohttp-debuginfo and 1 more0:3.9.1-1.el9apRHSA-2024:1057
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:4.2.10-1.el9apRHSA-2024:1057
26 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 2 morepython-aiohttp3.6.0-150100.3.15.1SUSE-SU-2024:0034-1
SUSELinux Enterprise Module for Python 3 15 SP5python-aiohttp3.8.5-150400.10.8.1SUSE-SU-2024:0033-1
openSUSELeap 15.5python-aiohttp3.6.0-150100.3.15.1SUSE-SU-2024:0034-1
openSUSELeap 15.5python-aiohttp3.8.5-150400.10.8.1SUSE-SU-2024:0033-1
openSUSETumbleweedpython-aiohttp3.14.3-1.1openSUSE-SU-2026:11467-1
openSUSETumbleweedpython-aiohttp3.9.3-2.1openSUSE-SU-2024:13691-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-aiohttp-0:3.9.1-1.el8apFixed 2024-02-29RHSA-2024:1057
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-aiohttp-0:3.9.1-1.el9apFixed 2024-02-29RHSA-2024:1057
Red Hat Satellite 6.14 for RHEL 8python-aiohttp-0:3.9.2-0.1.el8pcFixed 2024-03-27RHSA-2024:1536
Red Hat Satellite 6.15 for RHEL 8python-aiohttp-0:3.9.2-1.el8pcFixed 2024-04-23RHSA-2024:2010
RHUI 4 for RHEL 8python-aiohttp-0:3.9.2-1.el8uiFixed 2024-04-18RHSA-2024:1878
Red Hat Ansible Automation Platform 1.2aiohttpWill not fix
Red Hat Satellite 6tfm-pulpcore-python-aiohttpOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-49081.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON