PT-2021-6101
CVE-2021-21240
·
Published
2021-02-08
·
Updated
2026-10-31
Description by
CVSS 2.0
7.8
HighMetricsAV: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
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾