CVE-2024-23334
A public proof of concept exists; no exploitation attested.
- Published2024-01-29
- Fixed in3.9.2
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.
Timeline
dates in UTC- 2024-01-2923:15CVE publishedNVD
- 2026-02-04Exploit-DB entryExploit-DB
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.9 | ≥ 1.0.5, < 3.9.2 | 3.9.2 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 39.x | = 39 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- aio-libs aiohttpAffected
- = < 3.9.2no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-02-09
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- aiohttpTuxCare:PyPIfrom 3.8.1.post0 · fixed in 3.8.1.post7+tuxcare
- aiohttpTuxCare:PyPIfrom 3.8.4.post0 · fixed in 3.8.4.post8+tuxcare
- aiohttpTuxCare:PyPIfrom 3.8.5.post0 · fixed in 3.8.5.post3+tuxcare
- aiohttpTuxCare:PyPIfrom 3.8.6.post0 · fixed in 3.8.6.post12+tuxcare
- aiohttpRoot:PyPIall versions · fixed in 3.9.1+aikido.7
- aiohttpRoot:PyPIall versions · fixed in 3.8.6+aikido.10
- aiohttpRoot:PyPIall versions · fixed in 3.8.6+aikido.11
- aiohttpRoot:PyPIall versions · fixed in 3.8.6+aikido.12
105 more package ranges on OSV.dev
Vendor advisories
aiohttp: follow_symlinks directory traversal vulnerability
ansible-tower.src as a component of Red Hat Ansible Automation Platform 1.2
Red Hat Security Advisory: Satellite 6.15.0 release
Red Hat Security Advisory: RHUI 4.8 Release - Security Updates, Bug Fixes, and Enhancements
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
Red Hat Security Advisory: Satellite 6.14.3 Async Security Update
Fix
- Update Aiohttp to 3.9.2
- Vendor fix Red Hat Product Security RHSA-2024:2010 · 8 productsFor details on how to apply this update, refer to: * For upgrading connected Satellite: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.15/html-single/upgrading_connected_red_hat_satellite_to_6.15 * For upgrading disconnected Satellite: https://access.redhat.com/documentation/en-u…
- Vendor fix Red Hat Product Security RHSA-2024:1878 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions on how to apply this update, see: https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/4/html/migrating_red_hat_update_infrastructure/as…
- Vendor fix Red Hat Product Security RHSA-2024:1640 · 34 productsRed Hat Ansible Automation Platform
- Vendor fix Red Hat Product Security RHSA-2024:1536 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.14/html/upgrading_and_updating_red_hat_satellite/index
- Workaround from the vendor Red Hat Product Security RHSA-2024:2010 · 1,864 productsIf 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. E…
- No fix planned, says the vendor Red Hat Product Security CVE-2024-23334 · 1 productOut of support scope
Advisories and patches
- github.comPatch
- github.comPatch
- github.comMitigation · Vendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-05-30
- PoC-in-GitHub15 repositories, unverifiedknown since 2026-11-01ox1111/CVE-2024-23334sxyrxyy/aiohttp-exploit-CVE-2024-23334-certstreamz3rObyte/CVE-2024-23334-PoCjhonnybonny/CVE-2024-23334brian-edgar-re/poc-cve-2024-23334
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-05-30
- CNACVSS 3.15.9known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- FIRST EPSSEPSS score76.9 %read 2026-11-18
- PoC-in-GitHubproof of concept15known since 2026-11-01
- Exploit-DBdetectionread 2026-11-18
- ProjectDiscoverydetectionread 2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2024-01-29
Identifiers
- AZL-43552same flawAzure Linux · MIT
- AZL-44319same flawAzure Linux · MIT
- CGA-5mw4-f3gq-5xwgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5vww-mxmm-h3mwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9g2p-x99v-582rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fj96-p5h8-7xjrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j52c-9fj2-8gwmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j74p-p678-m9cvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jjxc-65px-p8q5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p7cx-p2p6-ww26same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wghw-w2xw-548xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-x76q-95f2-ccmxsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-0001same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-5h86-8mv2-jq9fsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2024-24same flawPyPA Advisory Database · CC-BY-4.0
- DLA-4041-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5828-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0388advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2025-1250advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1271advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1272advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13642-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11467-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:1536advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:1640advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:1878advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:2010advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2024:0577-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6991-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-01-29
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-5h86-8mv2-jq9f
Frequently asked questions
What is CVE-2024-23334?
Is CVE-2024-23334 actively exploited?
What is the CVSS score for CVE-2024-23334?
Running aiohttp? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-0727same product
- CVE-2026-21441same product
- CVE-2024-6345same product
- CVE-2024-12797same product
- CVE-2021-21330same product
- CVE-2025-47273same productsetuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File Write
- CVE-2024-53899same product
- CVE-2024-3651same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-5h86-8mv2-jq9f
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0