Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aiohttp
  4. ›
  5. CVE-2024-42367

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

August 9, 2024

Static routes which contain files with compressed variants (.gz or .br extension) were vulnerable to path traversal outside the root directory if those variants are symbolic links.

References

  • github.com/advisories/GHSA-jwhx-xcg6-8xhj
  • github.com/aio-libs/aiohttp
  • github.com/aio-libs/aiohttp/commit/ce2e9758814527589b10759a20783fb03b98339f
  • github.com/aio-libs/aiohttp/pull/8653
  • github.com/aio-libs/aiohttp/security/advisories/GHSA-jwhx-xcg6-8xhj
  • nvd.nist.gov/vuln/detail/CVE-2024-42367

Code Behaviors & Features

Detect and mitigate CVE-2024-42367 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.10.2

Fixed versions

  • 3.10.2

Solution

Upgrade to version 3.10.2 or above.

Impact 4.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

pypi/aiohttp/CVE-2024-42367.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.