ADVISORIES

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

EcosystemPackageAffected versions
Alpine:v3.14py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.15py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.16py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.17py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.18py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.19py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.20py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.21py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.22py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.23py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)
Alpine:v3.24py3-httplib2
All versions before 0.19.0-r0 (fixed in 0.19.0-r0)

References