CVE & CISA-KEV Catalog

CVE-2024-42367

MEDIUM
4.8
CVSS v3
NVD

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.

How to fix

Remediation Available
python-aiohttpDebian
Fixed in:3.10.3-2CVE-2024-42367
Fixed in:3.10.3-2CVE-2024-42367

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploit Intelligence

0.65%probability of exploitation in 30 days
46thpercentile

Moderate risk: more likely to be exploited than 46% of all known CVEs.

References

Vendor Advisory1
Issue Tracking1
Embed a live status badge for CVE-2024-42367
CVE-2024-42367 severity badge

Markdown

[![CVE-2024-42367](https://tridentstack.com/cve/badge/CVE-2024-42367.svg)](https://tridentstack.com/cve/CVE-2024-42367)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-42367"><img src="https://tridentstack.com/cve/badge/CVE-2024-42367.svg" alt="CVE-2024-42367"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-08-19.