
CVE catalog
CVE-2021-21330
python-aiohttp: CVE-2021-21330
- Severity
- High · CVSS 8.2
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-aiohttp | sid | 3.14.3-1 | fixed |
| Debian | python-aiohttp | forky | 3.14.3-1 | fixed |
| Debian | python-aiohttp | trixie | 3.11.16-1+deb13u1 | fixed |
| Debian | python-aiohttp | trixie-security | 3.11.16-1+deb13u1 | fixed |
| Debian | python-aiohttp | bookworm | 3.8.4-1+deb12u1 | fixed |
| Debian | python-aiohttp | bookworm-security | 3.8.4-1+deb12u1 | fixed |
| Opensuse | python-aiohttp | tumbleweed | 3.14.3-1.1 | fixed |
| Ubuntu | python-aiohttp | pro | 3.5.4-1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.5.4-1build1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.1-1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.2-1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.2-1build1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.2-1ubuntu0.1~esm1 | fixed |
| Suse | python-aiohttp | linux enterprise module for public cloud 15 sp1 | 3.6.0-150100.3.9.1 | fixed |
| Suse | python-typing_extensions | linux enterprise module for public cloud 15 sp1 | 3.10.0.0-150100.3.3.1 | fixed |
| Suse | python-aiohttp | linux enterprise module for public cloud 15 sp2 | 3.6.0-150100.3.9.1 | fixed |
| Suse | python-typing_extensions | linux enterprise module for public cloud 15 sp2 | 3.10.0.0-150100.3.3.1 | fixed |
| Suse | python-aiohttp | linux enterprise module for public cloud 15 sp3 | 3.6.0-150100.3.9.1 | fixed |
| Suse | python-typing_extensions | linux enterprise module for public cloud 15 sp3 | 3.10.0.0-150100.3.3.1 | fixed |
| Suse | python-aiohttp | linux enterprise module for public cloud 15 sp4 | 3.6.0-150100.3.9.1 | fixed |
| Suse | python-typing_extensions | linux enterprise module for server applications 15 sp4 | 3.10.0.0-150400.3.2.1 | fixed |
| Opensuse | python-aiohttp | leap 15.3 | 3.6.0-150100.3.9.1 | fixed |
| Opensuse | python-aiohttp | leap 15.4 | 3.6.0-150100.3.9.1 | fixed |
| Opensuse | python-typing_extensions | leap 15.4 | 3.10.0.0-150400.3.2.1 | fixed |
| Opensuse | python-aiohttp | tumbleweed | 3.8.5-2.1 | fixed |
| Suse | python-aiohttp | linux enterprise module for public cloud 15 sp1 | 3.4.4-3.6.1 | fixed |
| Suse | python-aiohttp | linux enterprise module for public cloud 15 sp2 | 3.4.4-3.6.1 | fixed |
| Ubuntu | python-aiohttp | pro | 3.5.4-1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.5.4-1build1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.1-1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.2-1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.2-1build1 | vulnerable |
| Ubuntu | python-aiohttp | pro | 3.6.2-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-aiohttp | source | sid | 3.7.4-1 | not yet assigned | Not reported | Not reported |
| Debian | python-aiohttp | source | forky | 3.7.4-1 | not yet assigned | Not reported | Not reported |
| Debian | python-aiohttp | source | trixie | 3.7.4-1 | not yet assigned | Not reported | Not reported |
| Debian | python-aiohttp | source | bookworm | 3.7.4-1 | not yet assigned | Not reported | Not reported |
| Opensuse | python-aiohttp | rpm | tumbleweed | 3.14.3-1.1 | Not reported | OPENSUSE-SU-2026:11467-1 | Not reported |
| Ubuntu | python-aiohttp | deb | pro | 3.6.2-1ubuntu0.1~esm1 | Not reported | USN-5386-1 | Not reported |
| Suse | python-aiohttp | rpm | linux enterprise module for public cloud 15 sp1 | 3.6.0-150100.3.9.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-typing_extensions | rpm | linux enterprise module for public cloud 15 sp1 | 3.10.0.0-150100.3.3.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-aiohttp | rpm | linux enterprise module for public cloud 15 sp2 | 3.6.0-150100.3.9.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-typing_extensions | rpm | linux enterprise module for public cloud 15 sp2 | 3.10.0.0-150100.3.3.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-aiohttp | rpm | linux enterprise module for public cloud 15 sp3 | 3.6.0-150100.3.9.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-typing_extensions | rpm | linux enterprise module for public cloud 15 sp3 | 3.10.0.0-150100.3.3.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-aiohttp | rpm | linux enterprise module for public cloud 15 sp4 | 3.6.0-150100.3.9.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Suse | python-typing_extensions | rpm | linux enterprise module for server applications 15 sp4 | 3.10.0.0-150400.3.2.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Opensuse | python-aiohttp | rpm | leap 15.3 | 3.6.0-150100.3.9.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Opensuse | python-aiohttp | rpm | leap 15.4 | 3.6.0-150100.3.9.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Opensuse | python-typing_extensions | rpm | leap 15.4 | 3.10.0.0-150400.3.2.1 | Not reported | SUSE-RU-2022:3275-1 | Not reported |
| Opensuse | python-aiohttp | rpm | tumbleweed | 3.8.5-2.1 | Not reported | OPENSUSE-SU-2024:13209-1 | Not reported |
| Suse | python-aiohttp | rpm | linux enterprise module for public cloud 15 sp1 | 3.4.4-3.6.1 | Not reported | SUSE-SU-2021:1313-1 | Not reported |
| Suse | python-aiohttp | rpm | linux enterprise module for public cloud 15 sp2 | 3.4.4-3.6.1 | Not reported | SUSE-SU-2021:1313-1 | Not reported |
| Ubuntu | python-aiohttp | deb | pro | 3.6.2-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-21330 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-aiohttp]Unknown
Source package: [python-aiohttp]
Details (4)
3.8.4-1+deb12u1· amd64 · bookwormFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
3.8.4-1+deb12u1· arm64 · bookwormFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
3.8.4-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
3.8.4-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
- [python-aiohttp-doc]Unknown
Source package: [python-aiohttp]
Details (4)
3.8.4-1+deb12u1· all · bookwormFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
3.8.4-1+deb12u1· all · bookwormFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
3.8.4-1+deb12u1· all · bookworm-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
3.8.4-1+deb12u1· all · bookworm-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · bookworm; dsa · python-aiohttp · debian · 12
[Debian 13 (Trixie)]
- [python3-aiohttp]Unknown
Source package: [python-aiohttp]
Details (4)
3.11.16-1+deb13u1· amd64 · trixieFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
3.11.16-1+deb13u1· arm64 · trixieFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
3.11.16-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
3.11.16-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
- [python-aiohttp-doc]Unknown
Source package: [python-aiohttp]
Details (4)
3.11.16-1+deb13u1· all · trixieFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
3.11.16-1+deb13u1· all · trixieFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
3.11.16-1+deb13u1· all · trixie-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
3.11.16-1+deb13u1· all · trixie-securityFixed · Fixed:
3.7.4-1dsa · python-aiohttp · debian · 13
[openSUSE Tumbleweed]
- [python313-aiohttp]Unknown
Source package: [python-aiohttp]
Details (1)
3.14.3-1.1· x86_64 · tumbleweedUnknown · Fixed:
3.14.3-1.1, 3.8.5-2.1Version impact unknown
dsa · python-aiohttp · opensuse · tumbleweed
- [python314-aiohttp]Unknown
Source package: [python-aiohttp]
Details (1)
3.14.3-1.1· x86_64 · tumbleweedUnknown · Fixed:
3.14.3-1.1, 3.8.5-2.1Version impact unknown
dsa · python-aiohttp · opensuse · tumbleweed
Observed:
References
- [https://access.redhat.com/errata/RHSA-2021:4702]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11467-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-21330]
- [https://osv.dev/vulnerability/DSA-4864-1]
- [https://osv.dev/vulnerability/SUSE-RU-2022:3275-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:1313-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-21330]
- [https://osv.dev/vulnerability/USN-5386-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13209-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11467-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-21330]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]