CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in aiohttp 3.7.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Naiohttp (PyPI): fixed in 3.7.4Explain CVE-2021-21330 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21330?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21330?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21330 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| aiohttp:aiohttp | before 3.7.4 |
| debian:debian_linux | 10.0 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v6wp-4m6f-gcjg | PyPI | aiohttp | <3.7.4 | 3.7.4 |
| PYSEC-2021-76 | PyPI | aiohttp | <3.7.4 | 3.7.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python-aiohttp | 3.5.1-1+deb10u1 | DSA-4864-1 |
| Debian | 12, 13, 14 | python-aiohttp | 3.7.4-1 | DEBIAN-CVE-2021-21330 |
| Ubuntu | Pro:18.04:LTS | python-aiohttp | 3.0.1-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-21330 USN-5386-1 |
| Ubuntu | Pro:20.04:LTS | python-aiohttp | 3.6.2-1ubuntu0.1~esm1 | UBUNTU-CVE-2021-21330 USN-5386-1 |
| Red Hat | satellite:6.10::el7 | candlepin | 0:4.0.9-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | satellite | 0:6.10.0-3.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-activerecord-session_store | 0:2.0.0-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-addressable | 0:2.8.0-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-puma | 0:5.3.2-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-rails, tfm-rubygem-actionpack | 0:6.0.3.7-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | foreman | 0:2.5.2.17-2.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-aiohttp | 0:3.7.4-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-ecdsa, python3-ecdsa | 0:0.13.3-2.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-pyyaml, python3-pyyaml | 0:5.4.1-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-urllib3, python3-urllib3 | 0:1.26.5-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python3-django | 0:2.2.24-1.el7pc | RHSA-2021:4702 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2 | python-aiohttp | 3.4.4-3.6.1 | SUSE-SU-2021:1313-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 | python-typing_extensions | 3.10.0.0-150100.3.3.1 | SUSE-RU-2022:3275-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 1 more | python-aiohttp | 3.6.0-150100.3.9.1 | SUSE-RU-2022:3275-1 |
| SUSE | Linux Enterprise Module for Server Applications 15 SP4 | python-typing_extensions | 3.10.0.0-150400.3.2.1 | SUSE-RU-2022:3275-1 |
| openSUSE | Leap 15.3, Leap 15.4 | python-aiohttp | 3.6.0-150100.3.9.1 | SUSE-RU-2022:3275-1 |
| openSUSE | Leap 15.4 | python-typing_extensions | 3.10.0.0-150400.3.2.1 | SUSE-RU-2022:3275-1 |
| openSUSE | Tumbleweed | python-aiohttp | 3.14.3-1.1 | openSUSE-SU-2026:11467-1 |
| openSUSE | Tumbleweed | python-aiohttp | 3.8.5-2.1 | openSUSE-SU-2024:13209-1 |
| Azure Linux | 3 | python-aiohttp | no fix listed | AZL-44805 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
Red Hat Satellite version 6.7 onward (mostly pulp part) does ship an affected version of aiohttp, however, is not vulnerable since the product code does not use the normalize_path_middleware function, which the attacker may use for an attack. We may update the python-aiohttp dependency in a future release.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.10 for RHEL 7 | python-aiohttp-0:3.7.4-1.el7pc | Fixed 2021-11-16 | RHSA-2021:4702 |
| Red Hat Ansible Automation Platform 1.2 | aiohttp | Not affected | |
| Red Hat Ansible Automation Platform 1.2 | python-aiohttp | Not affected | |
| Red Hat Ansible Tower 3 | aiohttp | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-21330.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.