QID 982955
QID 982955: Python (pip) Security Update for httplib2 (GHSA-93xj-8mrv-444m)
Security update has been released for httplib2 to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
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.
Solution
Version 0.19.0 contains new implementation of auth headers parsing, using pyparsing library.
https://github.com/httplib2/httplib2/pull/182Workaround:
```py
import httplib2
httplib2.USE_WWW_AUTH_STRICT_PARSING = True
```
https://github.com/httplib2/httplib2/pull/182Workaround:
```py
import httplib2
httplib2.USE_WWW_AUTH_STRICT_PARSING = True
```
Vendor References
- GHSA-93xj-8mrv-444m -
github.com/advisories/GHSA-93xj-8mrv-444m
CVEs related to QID 982955
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-93xj-8mrv-444m | httplib2 |
|