CVE catalog

CVE-2021-21330

python-aiohttp: CVE-2021-21330

[CVE catalog]

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

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In aiohttp before version 3.7.4 there is an open redirect vulnerability. A maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website. It is caused by a bug in the `aiohttp.web_middlewares.normalize_path_middleware` middleware. This security problem has been fixed in 3.7.4. Upgrade your dependency using pip as follows "pip install aiohttp >= 3.7.4". If upgrading is not an option for you, a workaround can be to avoid using `aiohttp.web_middlewares.normalize_path_middleware` in your applications.

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
Opensusepython-aiohttptumbleweed3.14.3-1.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~esm1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp13.6.0-150100.3.9.1fixed
Susepython-typing_extensionslinux enterprise module for public cloud 15 sp13.10.0.0-150100.3.3.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp23.6.0-150100.3.9.1fixed
Susepython-typing_extensionslinux enterprise module for public cloud 15 sp23.10.0.0-150100.3.3.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp33.6.0-150100.3.9.1fixed
Susepython-typing_extensionslinux enterprise module for public cloud 15 sp33.10.0.0-150100.3.3.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp43.6.0-150100.3.9.1fixed
Susepython-typing_extensionslinux enterprise module for server applications 15 sp43.10.0.0-150400.3.2.1fixed
Opensusepython-aiohttpleap 15.33.6.0-150100.3.9.1fixed
Opensusepython-aiohttpleap 15.43.6.0-150100.3.9.1fixed
Opensusepython-typing_extensionsleap 15.43.10.0.0-150400.3.2.1fixed
Opensusepython-aiohttptumbleweed3.8.5-2.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp13.4.4-3.6.1fixed
Susepython-aiohttplinux enterprise module for public cloud 15 sp23.4.4-3.6.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~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-aiohttpsourcesid3.7.4-1not yet assignedNot reportedNot reported
Debianpython-aiohttpsourceforky3.7.4-1not yet assignedNot reportedNot reported
Debianpython-aiohttpsourcetrixie3.7.4-1not yet assignedNot reportedNot reported
Debianpython-aiohttpsourcebookworm3.7.4-1not yet assignedNot reportedNot reported
Opensusepython-aiohttprpmtumbleweed3.14.3-1.1Not reportedOPENSUSE-SU-2026:11467-1Not reported
Ubuntupython-aiohttpdebpro3.6.2-1ubuntu0.1~esm1Not reportedUSN-5386-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp13.6.0-150100.3.9.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-typing_extensionsrpmlinux enterprise module for public cloud 15 sp13.10.0.0-150100.3.3.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp23.6.0-150100.3.9.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-typing_extensionsrpmlinux enterprise module for public cloud 15 sp23.10.0.0-150100.3.3.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp33.6.0-150100.3.9.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-typing_extensionsrpmlinux enterprise module for public cloud 15 sp33.10.0.0-150100.3.3.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp43.6.0-150100.3.9.1Not reportedSUSE-RU-2022:3275-1Not reported
Susepython-typing_extensionsrpmlinux enterprise module for server applications 15 sp43.10.0.0-150400.3.2.1Not reportedSUSE-RU-2022:3275-1Not reported
Opensusepython-aiohttprpmleap 15.33.6.0-150100.3.9.1Not reportedSUSE-RU-2022:3275-1Not reported
Opensusepython-aiohttprpmleap 15.43.6.0-150100.3.9.1Not reportedSUSE-RU-2022:3275-1Not reported
Opensusepython-typing_extensionsrpmleap 15.43.10.0.0-150400.3.2.1Not reportedSUSE-RU-2022:3275-1Not reported
Opensusepython-aiohttprpmtumbleweed3.8.5-2.1Not reportedOPENSUSE-SU-2024:13209-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp13.4.4-3.6.1Not reportedSUSE-SU-2021:1313-1Not reported
Susepython-aiohttprpmlinux enterprise module for public cloud 15 sp23.4.4-3.6.1Not reportedSUSE-SU-2021:1313-1Not reported
Ubuntupython-aiohttpdebpro3.6.2-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-21330Not reported

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

      Fixed · Fixed: 3.7.4-1

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

    • 3.8.4-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.7.4-1

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

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

      Fixed · Fixed: 3.7.4-1

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

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

      Fixed · Fixed: 3.7.4-1

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

  • Source package: [python-aiohttp]

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

      Fixed · Fixed: 3.7.4-1

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

    • 3.8.4-1+deb12u1 · all · bookworm

      Fixed · Fixed: 3.7.4-1

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

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

      Fixed · Fixed: 3.7.4-1

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

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

      Fixed · Fixed: 3.7.4-1

      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.7.4-1

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

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

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

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

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

  • Source package: [python-aiohttp]

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

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

    • 3.11.16-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

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

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

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

      Fixed · Fixed: 3.7.4-1

      dsa · python-aiohttp · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-aiohttp]

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

      Unknown · Fixed: 3.14.3-1.1, 3.8.5-2.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.14.3-1.1, 3.8.5-2.1

      Version impact unknown

      dsa · python-aiohttp · opensuse · tumbleweed

Observed:

References