CVE catalog

CVE-2024-42367

python-aiohttp: CVE-2024-42367

[CVE catalog]

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

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.

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+deb12u1vulnerable
Debianpython-aiohttpbookworm-security3.8.4-1+deb12u1vulnerable
Opensusepython-aiohttptumbleweed3.10.5-1.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp43.9.3-150400.10.24.1fixed
Susepython-aiohttplinux enterprise module for python 3 15 sp53.9.3-150400.10.24.1fixed
Susepython-aiohttplinux enterprise module for python 3 15 sp63.9.3-150400.10.24.1fixed
Opensusepython-aiohttpleap 15.53.9.3-150400.10.24.1fixed
Opensusepython-aiohttpleap 15.63.9.3-150400.10.24.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-aiohttpsourcesid3.10.3-2not yet assignedNot reportedNot reported
Debianpython-aiohttpsourceforky3.10.3-2not yet assignedNot reportedNot reported
Debianpython-aiohttpsourcetrixie3.10.3-2not yet assignedNot reportedNot reported
Debianpython-aiohttpsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Opensusepython-aiohttprpmtumbleweed3.10.5-1.1Not reportedOPENSUSE-SU-2024:14280-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp43.9.3-150400.10.24.1Not reportedSUSE-SU-2024:3110-1Not reported
Susepython-aiohttprpmlinux enterprise module for python 3 15 sp53.9.3-150400.10.24.1Not reportedSUSE-SU-2024:3110-1Not reported
Susepython-aiohttprpmlinux enterprise module for python 3 15 sp63.9.3-150400.10.24.1Not reportedSUSE-SU-2024:3110-1Not reported
Opensusepython-aiohttprpmleap 15.53.9.3-150400.10.24.1Not reportedSUSE-SU-2024:3110-1Not reported
Opensusepython-aiohttprpmleap 15.63.9.3-150400.10.24.1Not reportedSUSE-SU-2024:3110-1Not reported

Notes

[bookworm] python-aiohttp: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-aiohttp]

    Details (4)
    • 3.8.4-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

    • 3.8.4-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

    • 3.8.4-1+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

    • 3.8.4-1+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

  • Source package: [python-aiohttp]

    Details (4)
    • 3.8.4-1+deb12u1 · all · bookworm

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

    • 3.8.4-1+deb12u1 · all · bookworm

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

    • 3.8.4-1+deb12u1 · all · bookworm-security

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

    • 3.8.4-1+deb12u1 · all · bookworm-security

      Affected

      dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-aiohttp]

    Details (4)
    • 3.11.16-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

  • Source package: [python-aiohttp]

    Details (4)
    • 3.11.16-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.10.3-2

      dsa · python-aiohttp · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-aiohttp]

    Details (1)
    • 3.14.3-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.10.5-1.1

      Version impact unknown

      dsa · python-aiohttp · opensuse · tumbleweed

  • Source package: [python-aiohttp]

    Details (1)
    • 3.14.3-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 3.10.5-1.1

      Version impact unknown

      dsa · python-aiohttp · opensuse · tumbleweed

Observed:

References