# CVE-2024-42367: python-aiohttp: aiohttp is an asynchronous HTTP client/server framework for asyncio and Python

CVE-2024-42367 is fixed in python-aiohttp on 1 platform, first by DEBIAN-CVE-2024-42367, released August 12, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-42367
- Priority: Routine
- CVSS: 4.8 (medium)
- EPSS: 0.0065
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 12, 2024

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-aiohttp Debian 13.5 (trixie) | 3.10.3-2 | [DEBIAN-CVE-2024-42367](https://patchblox.com/security/data/fix/linux/debian-cve-2024-42367.md) | Aug 12, 2024 |
| Linux | python-aiohttp Debian 14 | 3.10.3-2 | [DEBIAN-CVE-2024-42367](https://patchblox.com/security/data/fix/linux/debian-cve-2024-42367.md) | Aug 12, 2024 |
| Linux | python-aiohttp opensuse-leap 15.6 | 3.9.3-150400.10.24.1 | [SUSE-SU-2024:3110-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3110-1.md) | Sep 3, 2024 |
| Linux | python-aiohttp sles 15.6 | 3.9.3-150400.10.24.1 | [SUSE-SU-2024:3110-1](https://patchblox.com/security/data/fix/linux/suse-su-2024-3110-1.md) | Sep 3, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
