CVE-2021-21240 Details
Description
httplib2 is a comprehensive HTTP client library for Python. In httplib2 before version 0.19.0, a malicious server which responds with long series of "\xa0" characters in the "www-authenticate" header may cause Denial of Service (CPU burn while parsing header) of the httplib2 client accessing said server. This is fixed in version 0.19.0 which contains a new implementation of auth headers parsing using the pyparsing library.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc | CVE | PatchThird Party Advisory |
| https://github.com/httplib2/httplib2/pull/182 | CVE | PatchThird Party Advisory |
| https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m | CVE | ExploitMitigationThird Party Advisory |
| https://pypi.org/project/httplib2 | CVE | ProductThird Party Advisory |
| https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc | [email protected] | PatchThird Party Advisory |
| https://github.com/httplib2/httplib2/pull/182 | [email protected] | PatchThird Party Advisory |
| https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m | [email protected] | ExploitMitigationThird Party Advisory |
| https://pypi.org/project/httplib2 | [email protected] | ProductThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| httplib2 project httplib2 | < 0.19.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 12, 2021 | Initial Analysis | [email protected] |