4.8

CVE-2024-42367: In aiohttp, compressed files as symlinks are not protected from path traversal

Analyzed
AliasesSUSE-SU-2024:3110-1GHSA-jwhx-xcg6-8xhjPYSEC-2026-1108
Published 09-08-2024Last modified 09-06-2025

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 52.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.65%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 9

Timeline

  1. 09-08-2024
    PublishedVulnerability first disclosed.
  2. 09-06-2025
    Last 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

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

52%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.65% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
Aiohttp1 product
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
Show all 16 references