CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh (7.5). EPSS 77% estimated probability of exploitation activity in the next 30 days. Fixed in aiohttp 3.9.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Naiohttp (PyPI): fixed in 3.9.2Explain CVE-2024-23334 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-23334?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-23334?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-2024-23334 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| aiohttp:aiohttp | from 1.0.5 before 3.9.2 |
| fedoraproject:fedora | 39 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5h86-8mv2-jq9f | PyPI | aiohttp | >=1.0.5 <3.9.2 | 3.9.2 |
| PYSEC-2024-24 | PyPI | aiohttp | >=1.0.5 <3.9.2 | 3.9.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python-aiohttp | 3.7.4-1+deb11u1 | DLA-4041-1 |
| Debian | 12 | python-aiohttp | 3.8.4-1+deb12u1 | DEBIAN-CVE-2024-23334 DSA-5828-1 |
| Debian | 13, 14 | python-aiohttp | 3.9.5-1 | DEBIAN-CVE-2024-23334 |
| Ubuntu | 22.04:LTS | python-aiohttp | 3.8.1-4ubuntu0.2 | UBUNTU-CVE-2024-23334 USN-6991-1 |
| Ubuntu | 24.04:LTS | python-aiohttp | 3.9.1-1ubuntu0.1 | UBUNTU-CVE-2024-23334 USN-6991-1 |
| Ubuntu | 25.10, 26.10, Pro:16.04:LTS and 1 more | python-aiohttp | no fix listed | UBUNTU-CVE-2024-23334 |
| Ubuntu | Pro:18.04:LTS | python-aiohttp | 3.0.1-1ubuntu0.1~esm4 | UBUNTU-CVE-2024-23334 USN-6991-1 |
| Ubuntu | Pro:20.04:LTS | python-aiohttp | 3.6.2-1ubuntu1+esm3 | UBUNTU-CVE-2024-23334 USN-6991-1 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.5-2.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more | 0:3.9.3-1.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-django, python3x-django | 0:4.2.11-1.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | receptor, receptorctl | 0:1.4.5-1.el8ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | automation-controller-venv-tower | 0:4.5.5-2.el9ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-aiohttp, python3-aiohttp, python3-aiohttp-debuginfo and 1 more | 0:3.9.3-1.el9ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9 | python-django, python3-django | 0:4.2.11-1.el9ap | RHSA-2024:1640 |
| Red Hat | ansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9 | receptor, receptorctl | 0:1.4.5-1.el9ap | RHSA-2024:1640 |
| Red Hat | rhui:4::el8 | python-aiohttp, python3.11-aiohttp, python-aiohttp-debugsource and 1 more | 0:3.9.2-1.el8ui | RHSA-2024:1878 |
| Red Hat | rhui:4::el8 | python-cryptography, python3.11-cryptography, python-cryptography-debugsource and 1 more | 0:41.0.6-1.el8ui | RHSA-2024:1878 |
| Red Hat | rhui:4::el8 | python-django, python3.11-django | 0:4.2.11-1.el8ui | RHSA-2024:1878 |
| Red Hat | rhui:4::el8 | python-ecdsa, python3.11-ecdsa | 0:0.18.0-4.el8ui | RHSA-2024:1878 |
| 18 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Python 3 15 SP5 and 2 more | python-aiohttp | 3.9.3-150400.10.14.1 | SUSE-SU-2024:0577-1 |
| openSUSE | Leap 15.5 | python-aiohttp | 3.9.3-150400.10.14.1 | SUSE-SU-2024:0577-1 |
| openSUSE | Tumbleweed | python-aiohttp | 3.14.3-1.1 | openSUSE-SU-2026:11467-1 |
| openSUSE | Tumbleweed | python-aiohttp | 3.9.3-1.1 | openSUSE-SU-2024:13642-1 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | py3-aiohttp | 3.9.3-r0 | ALPINE-CVE-2024-23334 |
| Azure Linux | 2 | python-aiohttp | no fix listed | AZL-43552 |
| Azure Linux | 3 | python-aiohttp | no fix listed | AZL-44319 |
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; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This vulnerability has been rated as having a moderate impact. There is a non-default precondition which is required to exploit it: the follow_symlinks setting needs to be enabled.
If using follow_symlinks=True outside of a restricted local development environment, disable the option immediately. This option is NOT needed to follow symlinks that point to a location within the static root directory; it is only intended to allow a symlink to break out of the static directory. Even with this CVE fixed, there is still a substantial risk of misconfiguration when using this option on a server that accepts requests from remote users.
Additionally, aiohttp has always recommended using a reverse proxy server (such as nginx) to handle static resources and not to use these static resources in aiohttp for production environments. Doing so also protects against this vulnerability, and is why we expect the number of affected users to be very low.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | automation-controller-0:4.5.5-2.el8ap | Fixed 2024-04-02 | RHSA-2024:1640 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | python3x-aiohttp-0:3.9.3-1.el8ap | Fixed 2024-04-02 | RHSA-2024:1640 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | automation-controller-0:4.5.5-2.el9ap | Fixed 2024-04-02 | RHSA-2024:1640 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | python-aiohttp-0:3.9.3-1.el9ap | Fixed 2024-04-02 | RHSA-2024:1640 |
| Red Hat Satellite 6.14 for RHEL 8 | python-aiohttp-0:3.9.2-0.1.el8pc | Fixed 2024-03-27 | RHSA-2024:1536 |
| Red Hat Satellite 6.15 for RHEL 8 | python-aiohttp-0:3.9.2-1.el8pc | Fixed 2024-04-23 | RHSA-2024:2010 |
| RHUI 4 for RHEL 8 | python-aiohttp-0:3.9.2-1.el8ui | Fixed 2024-04-18 | RHSA-2024:1878 |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Out of support scope | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ansible-builder-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-dellemc-openmanage-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/ee-minimal-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-cloud-services-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ee-supported-rhel9 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/platform-resource-runner-rhel8 | Not affected |
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-2024-23334.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.