GHSA-v6wp-4m6f-gcjg · Severity: low · Ecosystem: pip — `aiohttp` Open Redirect vulnerability (`normalize_path_middleware` middleware)
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.
Conclusion & alert: CVE-2021-21330 is rated Moderate Risk (40.8/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.91%). Core evidence: EPSS rose +1.42% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.49% | 1.91% | +1.42% |
| 2 | 2025-11-21 | 1.10% | 0.49% | -0.62% |
| 3 | 2025-11-18 | — | 1.10% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 3.1 | 3.1 | LOW |
|
1.6 | 1.4 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 5.8 | 2.0 | MEDIUM |
|
8.6 | 4.9 | [email protected] |
GHSA-v6wp-4m6f-gcjg · Severity: low · Ecosystem: pip — `aiohttp` Open Redirect vulnerability (`normalize_path_middleware` middleware)
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-21330 not yet assigned priority: Debian including 1 source packages (python-aiohttp), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-21330 |
gentoo
|
low | CVE-2021-21330: 1 GLSA(s) (202208-19), 1 atom(s) (dev-python/aiohttp); latest impact low. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-21330 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-21330 |
suse
|
high | CVE-2021-21330 severity important: SUSE including 12 source package names (python-aiohttp-doc-3.4.4-3.6.1, python-aiohttp-doc-3.6.0-150100.3.9.1, …), 46 product×package rows across 28 product lines (Image SLES15-SP3-BYOS-Azure, Image SLES15-SP3-HPC-BYOS-Azure, … (28 product lines)): Fixed 46. | https://www.suse.com/security/cve/CVE-2021-21330/ |
ubuntu
|
medium | CVE-2021-21330 medium priority: Ubuntu including 1 source packages (python-aiohttp), 15 status rows across 15 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): not-affected 9, released 3, ignored 2, DNE 1. | https://ubuntu.com/security/CVE-2021-21330 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| aiohttp | aiohttp | < 3.7.4 | cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25 | Third Party Advisory |
| https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b | Patch Third Party Advisory |
| https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/ | |
| https://pypi.org/project/aiohttp/ | Product Third Party Advisory |
| https://security.gentoo.org/glsa/202208-19 | Third Party Advisory |
| https://www.debian.org/security/2021/dsa-4864 | Third Party Advisory |