CVE-2024-42367: In aiohttp, compressed files as symlinks are not protected from path traversal
aio-libs · aiohttp
Affected: aio-libs aiohttp · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 51% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- aio-libs · aiohttp>= 3.10.0b1, < 3.10.2
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- aio-libs
- Published
- August 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2024-42367 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-61cwe.mitre.org
- github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8github.com
- github.com/aio-libs/aiohttp/pull/8653github.com
- github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783github.com
- github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b4github.com
- github.com/aio-libs/aiohttp/blob/e0ff5246e1d29b7710ab1a2bbc972b4github.com