CVE catalog

CVE-2024-23334

AIOHTTP vulnerability

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
76.88% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-aiohttpsid3.14.3-1fixed
Debianpython-aiohttpforky3.14.3-1fixed
Debianpython-aiohttptrixie3.11.16-1+deb13u1fixed
Debianpython-aiohttptrixie-security3.11.16-1+deb13u1fixed
Debianpython-aiohttpbookworm3.8.4-1+deb12u1fixed
Debianpython-aiohttpbookworm-security3.8.4-1+deb12u1fixed
Ubuntupython-aiohttpnoble3.9.1-1ubuntu0.1fixed
Ubuntupython-aiohttp-docnoble3.9.1-1ubuntu0.1fixed
Ubuntupython3-aiohttpnoble3.9.1-1ubuntu0.1fixed
Ubuntupython-aiohttppro3.5.4-1vulnerable
Ubuntupython-aiohttppro3.5.4-1build1vulnerable
Ubuntupython-aiohttppro3.6.1-1vulnerable
Ubuntupython-aiohttppro3.6.2-1vulnerable
Ubuntupython-aiohttppro3.6.2-1build1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu0.1~esm1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm1vulnerable
Ubuntupython-aiohttppro3.6.2-1ubuntu1+esm3fixed
Ubuntupython-aiohttp22.043.7.4-1vulnerable
Ubuntupython-aiohttp22.043.7.4-1build2vulnerable
Ubuntupython-aiohttp22.043.8.1-3vulnerable
Ubuntupython-aiohttp22.043.8.1-4vulnerable
Ubuntupython-aiohttp22.043.8.1-4build1vulnerable
Ubuntupython-aiohttp22.043.8.1-4ubuntu0.2fixed
Ubuntupython-aiohttp24.043.8.4-1vulnerable
Ubuntupython-aiohttp24.043.9.1-1vulnerable
Ubuntupython-aiohttp24.043.9.1-1build1vulnerable
Ubuntupython-aiohttp24.043.9.1-1ubuntu0.1fixed
Opensusepython-aiohttptumbleweed3.9.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-aiohttpsourcesid3.9.5-1not yet assignedNot reported[1062709]
Debianpython-aiohttpsourceforky3.9.5-1not yet assignedNot reported[1062709]
Debianpython-aiohttpsourcetrixie3.9.5-1not yet assignedNot reported[1062709]
Debianpython-aiohttpsourcebookworm3.8.4-1+deb12u1not yet assignedNot reported[1062709]
Ubuntupython-aiohttpdebnoble3.9.1-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntupython-aiohttp-docdebnoble3.9.1-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntupython3-aiohttpdebnoble3.9.1-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntupython-aiohttpdebpro3.6.2-1ubuntu1+esm3Not reportedUSN-6991-1Not reported
Ubuntupython-aiohttpdeb22.043.8.1-4ubuntu0.2Not reportedUSN-6991-1Not reported
Ubuntupython-aiohttpdeb24.043.9.1-1ubuntu0.1Not reportedUSN-6991-1Not reported
Opensusepython-aiohttprpmtumbleweed3.9.3-1.1Not reportedOPENSUSE-SU-2024:13642-1Not reported

[Debian bug #1062709]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References