CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in httplib2 project httplib2. EPSS 3.7% estimated probability of exploitation activity in the next 30 days. Fixed in httplib2 0.19.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hhttplib2 (PyPI): fixed in 0.19.0Explain CVE-2021-21240 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21240?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21240?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-21240 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 |
|---|---|
| httplib2_project:httplib2 | before 0.19.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-93xj-8mrv-444m | PyPI | httplib2 | <0.19.0 | 0.19.0 |
| PYSEC-2021-16 | PyPI | httplib2 | <0.19.0 | 0.19.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | python-httplib2 | 0.18.1-3+deb11u1 | DLA-4747-1 |
| Debian | 12, 13, 14 | python-httplib2 | 0.20.2-1 | DEBIAN-CVE-2021-21240 |
| Ubuntu | 14.04:LTS, 16.04:LTS, 18.04:LTS and 2 more | python-httplib2 | no fix listed | UBUNTU-CVE-2021-21240 |
| Red Hat | openstack:16.1::el8 | python-httplib2, python3-httplib2 | 0:0.13.1-2.el8ost | RHSA-2021:2116 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-httplib2 | 0.19.0-7.3.1 | SUSE-SU-2021:1808-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP2 and 1 more | python-httplib2 | 0.19.0-3.3.1 | SUSE-SU-2021:1806-1 |
| SUSE | Linux Enterprise Module for Public Cloud 12, OpenStack Cloud 7 | python-httplib2 | 0.19.0-7.7.1 | SUSE-SU-2021:1807-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 | python-httplib2 | 0.19.0-1.8.1 | SUSE-SU-2021:1637-1 |
| SUSE | OpenStack Cloud 9, OpenStack Cloud Crowbar 9 | python-httplib2 | 0.19.0-8.3.4 | SUSE-SU-2021:1779-1 |
| SUSE | Package Hub 15 SP2 | python-httplib2 | 0.19.0-bp152.3.3.1 | openSUSE-SU-2021:0796-1 |
| openSUSE | Leap 15.2 | python-httplib2 | 0.19.0-lp152.6.3.1 | openSUSE-SU-2021:0772-1 |
| openSUSE | Leap 15.3 | python-httplib2 | 0.19.0-3.3.1 | openSUSE-SU-2021:1806-1 |
| openSUSE | Tumbleweed | python-httplib2 | 0.19.1-1.2 | openSUSE-SU-2024:11231-1 |
| openSUSE | Tumbleweed | python-httplib2 | 0.22.0-4.5 | openSUSE-SU-2024:14141-1 |
| openSUSE | Tumbleweed | python-httplib2 | 0.32.0-1.1 | openSUSE-SU-2026:11203-1 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | py3-httplib2 | 0.19.0-r0 | ALPINE-CVE-2021-21240 |
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; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Low.
This flaw has been rated as having a security impact of Low, because it requires a malicious or compromised server in order to be exploited, and it only affects the HTTP client. In Red Hat OpenStack Platform 13, because the flaw has a lower impact and the fix would require a substantial amount of development, no update will be provided at this time for the RHOSP 13 python-httplib2 package.
Use strict mode to parse WWW-Authenticate headers. This can be done by setting `httplib2.USE_WWW_AUTH_STRICT_PARSING = True`. Please note, however, that strict mode might lead to bad results in case of ill-formed header values.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 16.1 | python-httplib2-0:0.13.1-2.el8ost | Fixed 2021-05-26 | RHSA-2021:2116 |
| Red Hat Ceph Storage 2 | python-httplib2 | Out of support scope | |
| Red Hat Enterprise Linux 7 | fence-agents | Out of support scope | |
| Red Hat Enterprise Linux 8 | python-httplib2 | Fix deferred | |
| Red Hat Enterprise Linux 9 | python-httplib2 | Not affected | |
| Red Hat OpenStack Platform 10 (Newton) | python-httplib2 | Out of support scope | |
| Red Hat OpenStack Platform 13 (Queens) | python-httplib2 | Will not fix | |
| Red Hat Storage 3 | python-httplib2 | Fix deferred | |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-httplib2 | Fix deferred |
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-21240.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.