CVE-2021-21240

NameCVE-2021-21240
Descriptionhttplib2 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs982738

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-httplib2 (PTS)buster0.11.3-2vulnerable
bullseye0.18.1-3vulnerable
bookworm0.20.4-3fixed
sid, trixie0.22.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-httplib2source(unstable)0.20.2-1982738

Notes

[bullseye] - python-httplib2 <no-dsa> (Minor issue)
[buster] - python-httplib2 <no-dsa> (Minor issue)
[stretch] - python-httplib2 <no-dsa> (Minor issue)
https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m
https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc (v0.19.0)
https://github.com/httplib2/httplib2/pull/182

Search for package or bug name: Reporting problems