CVE-2024-42367: aio-libs aiohttp UNIX Symbolic Link (Symlink) Following
Vulnerability summary
CVE-2024-42367 is a medium (CVSS 4.8) UNIX Symbolic Link (Symlink) Following vulnerability in aio-libs aiohttp. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 50.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 9Timeline
- 09-08-2024PublishedVulnerability first disclosed.
- 09-06-2025Last modifiedVulnerability information updated.
Description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In versions on the 3.10 branch prior to version 3.10.2, static routes which contain files with compressed variants (`.gz` or `.br` extension) are vulnerable to path traversal outside the root directory if those variants are symbolic links. The server protects static routes from path traversal outside the root directory when `follow_symlinks=False` (default). It does this by resolving the requested URL to an absolute path and then checking that path relative to the root. However, these checks are not performed when looking for compressed variants in the `FileResponse` class, and symbolic links are then automatically followed when performing the `Path.stat()` and `Path.open()` to send the file. Version 3.10.2 contains a patch for the issue.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.65%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
0.00 pp
From 0.65% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard20 products
- airflow< 2.9.3-r2
- airflow-bitnami-compat< 2.9.3-r2
- checkov< 3.0.34-r1
- dask-gateway< 2024.1.0-r9
- dask-gateway-server< 2024.1.0-r9
Wolfi17 products
- airflow< 2.9.3-r2
- airflow-bitnami-compat< 2.9.3-r2
- checkov< 3.0.34-r1
- dask-gateway< 2024.1.0-r9
- dask-gateway-server< 2024.1.0-r9
Opensuse3 products
- python-aiohttp&distro=openSUSE Leap 15.5< 3.9.3-150400.10.24.1
- python-aiohttp&distro=openSUSE Leap 15.6< 3.9.3-150400.10.24.1
- python-aiohttp&distro=openSUSE Tumbleweed< 3.10.5-1.1
Suse3 products
- python-aiohttp&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.9.3-150400.10.24.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Python 3 15 SP5< 3.9.3-150400.10.24.1
- python-aiohttp&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 3.9.3-150400.10.24.1
Aio-libs1 product
- aiohttp≥ 3.10.0b1, < 3.10.2
Aiohttp1 product
- aiohttp≥ 3.10.0, < 3.10.2
Debian1 product
- python-aiohttpAll versions (No fix recorded) | < 3.10.3-2
PyPI1 product
- aiohttp≥ 3.10.0b1, < 3.10.2
Ubuntu1 product
- python-aiohttpAll versions (No fix recorded) | < 3.10.11-1build1
9 vendors · 48 products
References
16 links- github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhjX Refsource CONFIRMWEBREPORTAdvisoryVendor Advisory
- github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339fX Refsource MISCWEBFIXREPORTPatch
- github.com/aio-libs/aiohttpPACKAGE
Show all 16 references
- pypi.org/project/aiohttpPACKAGE