{"cve":"CVE-2024-23334","nvd":{"published":"2024-01-29T23:15:08.563","modified":"2026-06-17T07:12:37.090","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b","https://github.com/aio-libs/aiohttp/pull/8079","https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/"],"products":["aiohttp:aiohttp","fedoraproject:fedora"],"source":"nvd","synced_at":"2026-10-19T21:44:57.175229480+00:00"},"epss":{"cve":"CVE-2024-23334","score":0.76875,"percentile":0.99549,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5h86-8mv2-jq9f","url":"https://osv.dev/vulnerability/GHSA-5h86-8mv2-jq9f","summary":"aiohttp is vulnerable to directory traversal","modified":"2026-09-10T03:50:04.835842803Z","packages":[{"ecosystem":"PyPI","name":"aiohttp","purl":"pkg:pypi/aiohttp","ranges":[">=1.0.5 <3.9.2"],"fixed":["3.9.2"]}]},{"id":"PYSEC-2024-24","url":"https://osv.dev/vulnerability/PYSEC-2024-24","summary":"","modified":"2024-02-05T20:43:19.143053Z","packages":[{"ecosystem":"PyPI","name":"aiohttp","purl":"pkg:pypi/aiohttp","ranges":[">=1.0.5 <3.9.2"],"fixed":["3.9.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}