—
PYSEC-2021-16
Quick fix
PYSEC-2021-16 — httplib2: upgrade to the fixed version with the command below.
pip install --upgrade 'httplib2>=bd9ee252c8f099608019709e22c0d705e98d26bc'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/httplib2
Introduced in:
0Fixed in: bd9ee252c8f099608019709e22c0d705e98d26bcFix
pip install --upgrade 'httplib2>=bd9ee252c8f099608019709e22c0d705e98d26bc'