Alpine Security Database
ALPINE-CVE-2021-21240
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.14 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.15 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.16 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.17 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.18 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.19 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.20 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.21 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.22 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.23 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |
| Alpine:v3.24 | py3-httplib2 | All versions before 0.19.0-r0 (fixed in 0.19.0-r0) |