CVE-2021-21240
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 0.19.0-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 0.20.2-1 |
| debian | bullseye | affected | |
| debian | forky | fixed | 0.20.2-1 |
| debian | sid | fixed | 0.20.2-1 |
| debian | trixie | fixed | 0.20.2-1 |
References
- https://security.archlinux.org/ASA-202102-35
- https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m
- https://nvd.nist.gov/vuln/detail/CVE-2021-21240
- https://github.com/httplib2/httplib2/pull/182
- https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc
- https://github.com/httplib2/httplib2
- https://github.com/pypa/advisory-database/tree/main/vulns/httplib2/PYSEC-2021-16.yaml
- https://pypi.org/project/httplib2
- https://www.suse.com/security/cve/CVE-2021-21240.html
- https://security-tracker.debian.org/tracker/CVE-2021-21240
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.