Skip to content
Sign in
CVE-2024-423674.8MediumCWE-61

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.

0.7%probability of exploitation in the next 30 days
51st percentile
050100

Higher than 51% of scored CVEs

4.8MediumCVSS 3.1
LowMedium

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.

Open the Atlas
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

Updated AboutDevelopersSign in