CVE-2021-21240

Regular Expression Denial of Service in httplib2

Published Feb 8, 2021 CVSS 3.1 · 7.5 High EPSS 3.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4747-1 python-httplib2 security update
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
History
Type Values Removed Values Added
Metrics epss

{'score': 0.02198}

epss

{'score': 0.04541}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 6:09 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Modified
Published
Feb 8, 2021, 8:15 PM
Modified
Jun 17, 2026, 3:35 AM
Severity
Low
Public date
Jan 9, 2021, 12:00 AM