CVE-2024-42367
Wolfi vulnerability analysis and mitigation

Overview

aiohttp, an asynchronous HTTP client/server framework for asyncio and Python, was found to have a path traversal vulnerability (CVE-2024-42367) prior to version 3.10.2. The vulnerability affects static routes containing files with compressed variants (.gz or .br extension) when those variants are symbolic links. The issue was discovered and disclosed on August 9, 2024, and was patched in version 3.10.2 (GitHub Advisory).

Technical details

The vulnerability stems from insufficient path traversal protection in the FileResponse class when handling compressed file variants. While the server implements protection against path traversal outside the root directory with follow_symlinks=False (default) by resolving requested URLs to absolute paths and checking them relative to the root, these checks were bypassed when looking for compressed variants. The vulnerability occurs because symbolic links are automatically followed when performing Path.stat() and Path.open() operations to send the file (GitHub Advisory). The vulnerability has been assigned a CVSS v3.1 score of 4.8 (Medium) with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (Red Hat XML).

Impact

The vulnerability affects servers with static routes that contain compressed variants as symbolic links pointing outside the root directory, or servers that allow users to upload or create such links. This could potentially lead to unauthorized access to files outside the intended root directory (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in aiohttp version 3.10.2. Users should upgrade to this version or later to address the security issue. The patch modifies the handling of compressed file variants to prevent following symbolic links that point outside the root directory (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-66564HIGH7.5
  • Datadog AgentDatadog Agent
  • cosign
NoYesDec 04, 2025
CVE-2025-66490MEDIUM6.9
  • WolfiWolfi
  • traefik-3
NoYesDec 09, 2025
CVE-2025-66491MEDIUM5.9
  • WolfiWolfi
  • traefik
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management