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.

Routine
CVSS
4.8
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0065
51st percentile

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

ProductFixed inFixReleased
Linux
python-aiohttp · Debian 13.5 (trixie) 3.10.3-2 DEBIAN-CVE-2024-42367 Aug 12, 2024
python-aiohttp · Debian 14 3.10.3-2 DEBIAN-CVE-2024-42367 Aug 12, 2024
python-aiohttp · opensuse-leap 15.6 3.9.3-150400.10.24.1 SUSE-SU-2024:3110-1 Sep 3, 2024
python-aiohttp · sles 15.6 3.9.3-150400.10.24.1 SUSE-SU-2024:3110-1 Sep 3, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

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.