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.

Subscriptions

Vendors Products
Httplib2 Project Subscribe
Httplib2 Subscribe
Openstack Subscribe

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-0098 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.
Github GHSA Github GHSA GHSA-93xj-8mrv-444m Regular Expression Denial of Service (REDoS) in httplib2
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.02198}

epss

{'score': 0.04541}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-03T18:09:14.827Z

Reserved: 2020-12-22T00:00:00.000Z

Link: CVE-2021-21240

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-02-08T20:15:12.197

Modified: 2024-11-21T05:47:50.650

Link: CVE-2021-21240

cve-icon Redhat

Severity : Low

Publid Date: 2021-01-09T00:00:00Z

Links: CVE-2021-21240 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses