SecurityContext

CVE-2024-23334: aiohttp - Path Traversal

  • Cve: CVE-2024-23334
  • Name: aiohttp - Path Traversal
  • 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.
  • Impact: Attackers can access arbitrary files on the system, potentially leading to information disclosure or system compromise.
  • Remediation: Update to version 3.9.2 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure, file_system_read
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.76875
  • Epss percentile: 0.99558
  • Assignee: [email protected]
  • Published at: 2024-01-29T23:15:08Z
  • Age in days: 1030
  • Modified at: 2026-06-17T07:12:37Z
  • Patch available: yes
  • Public exploits total: 27
  • References total: 10
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-23334
  • Nvd status: modified
  • Checked, none or zero: public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2024-03-15—no

Nuclei templates

IdUrl
CVE-2024-23334https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-23334.yaml

Public exploits

UrlSourceAdded date
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9fnvd2024-01-29
https://github.com/JohnnyWang108/hdu-is-lab1-secure-apipoc-in-github2026-10-19
https://github.com/Sn0wBaall/CVE-2024-23334-PoCpoc-in-github2026-01-27
https://github.com/BestDevOfc/CVE-2024-23334-PoCpoc-in-github2024-12-25
https://github.com/BestDevOfc/CVE-2024-23334-PoC.gitvulncheck-xdb2024-12-25

References

UrlSourceTags
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514bnvdPatch
https://github.com/aio-libs/aiohttp/pull/8079nvdPatch
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9fnvdExploit, Mitigation, Vendor Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-23334.yamlnuclei_templateNuclei Template
https://www.orangecyberdefense.com/fileadmin/general/pdf/Cy-Xplorer-2024.pdfvulncheckVulncheck Reported Exploitation
https://cyble.com/blog/cgsi-probes-shadowsyndicate-groups-possible-exploitation-of-aiohttp-vulnerability-cve-2024-23334/vulncheckVulncheck Reported Exploitation
https://lists.fedoraproject.org/archives/list/[email protected]/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/nvdMailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/nvd
https://lists.debian.org/debian-lts-announce/2025/02/msg00002.htmlnvd
https://www.exploit-db.com/exploits/52474nvd

Products

ProductAffectedPlatform boundSourcesUrl
aiohttp:aiohttp>= 1.0.5, < 3.9.2nonvd/v1/products/aiohttp/aiohttp
fedoraproject:fedora= 39nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
aio-libs/aiohttpcommit, fix, package, pull, security_advisoryyes/v1/repositories/aio-libs/aiohttp

Index

  • Repositories: 553
  • Repositories high signal: 301
  • Packages: 1

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2024-03-15
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 27
  • Public exploit first date: 2024-01-29
  • Remote: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, initial access, authentication required
  • Not known: known exploited since, initial access since, hackerone reports

Nuclei template