CVEvulnerability
CVE-2021-21240
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-02-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-400
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.
Affected configurations
• httplib2 project httplib2 (< 0.19.0)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc Patch, Third Party Advisory
- https://github.com/httplib2/httplib2/pull/182 Patch, Third Party Advisory
- https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m Exploit, Mitigation, Third Party Advisory
- https://pypi.org/project/httplib2 Product, Third Party Advisory
- https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc Patch, Third Party Advisory
- https://github.com/httplib2/httplib2/pull/182 Patch, Third Party Advisory
- https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m Exploit, Mitigation, Third Party Advisory
- https://pypi.org/project/httplib2 Product, Third Party Advisory