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

CVE-2024-23334 is fixed in 2 products on 1 platform, first by python3-aiohttp 3.0.1-1ubuntu0.1~esm4, released January 29, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-23334
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.7688
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 29, 2024

## Description

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present.  Disabling follow_symlinks and using a reverse proxy are encouraged mitigations.  Version 3.9.2 fixes this issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-aiohttp Debian 12.15 (bookworm) | 3.8.4-1+deb12u1 | [DEBIAN-CVE-2024-23334](https://patchblox.com/security/data/fix/linux/debian-cve-2024-23334.md) | Jan 29, 2024 |
| Linux | python-aiohttp Debian 13.5 (trixie) | 3.9.5-1 | [DEBIAN-CVE-2024-23334](https://patchblox.com/security/data/fix/linux/debian-cve-2024-23334.md) | Jan 29, 2024 |
| Linux | python-aiohttp Debian 14 | 3.9.5-1 | [DEBIAN-CVE-2024-23334](https://patchblox.com/security/data/fix/linux/debian-cve-2024-23334.md) | Jan 29, 2024 |
| Linux | python3-aiohttp Ubuntu 18.04.6 LTS (bionic) | 3.0.1-1ubuntu0.1~esm4 | [python3-aiohttp 3.0.1-1ubuntu0.1~esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-aiohttp-3.0.1-1ubuntu0.1-esm4.md) | Jan 29, 2024 |
| Linux | python3-aiohttp Ubuntu 20.04 LTS (focal) | 3.6.2-1ubuntu1+esm3 | [python3-aiohttp 3.6.2-1ubuntu1+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-aiohttp-3.6.2-1ubuntu1-esm3.md) | Jan 29, 2024 |
| Linux | python3-aiohttp Ubuntu 22.04.1 LTS (jammy) | 3.8.1-4ubuntu0.2 | [python3-aiohttp 3.8.1-4ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-aiohttp-3.8.1-4ubuntu0.2.md) | Jan 29, 2024 |
| Linux | python3-aiohttp Ubuntu 24.04.5 LTS (noble) | 3.9.1-1ubuntu0.1 | [python3-aiohttp 3.9.1-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-aiohttp-3.9.1-1ubuntu0.1.md) | Jan 29, 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.
