PT-2021-6101

CVE-2021-21240

·

Published

2021-02-08

·

Updated

2026-10-31

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions httplib2 versions prior to 0.19.0
Description 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. The issue arises due to catastrophic backtracking in the vulnerable regular expression, leading to cubic complexity and significant processing delays.
Recommendations For versions prior to 0.19.0, update to version 0.19.0, which contains a new implementation of auth headers parsing using the pyparsing library. As a temporary workaround, consider setting httplib2.USE WWW AUTH STRICT PARSING to True to mitigate the issue.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-93XJ-8MRV-444M
CLEANSTART-2026-EP07028
MGASA-2021-0122
OESA-2021-1126
OPENSUSE-SU-2021:0772-1
OPENSUSE-SU-2021_0772-1
OPENSUSE-SU-2021:0796-1
OPENSUSE-SU-2021:1806-1
OPENSUSE-SU-2021_1806-1
OPENSUSE-SU-2024:11231-1
OPENSUSE-SU-2024:14141-1
OPENSUSE-SU-2026:11203-1
PYSEC-2021-16
RHSA-2021:2116
SUSE-SU-2021:1637-1
SUSE-SU-2021:1779-1
SUSE-SU-2021:1806-1
SUSE-SU-2021:1807-1
SUSE-SU-2021:1808-1
Found an issue in the description? Have something to add? Feel free to write us 👾