{"id":"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.","aliases":["GHSA-93xj-8mrv-444m","PYSEC-2021-16"],"modified":"2026-04-12T01:00:59.195512Z","published":"2021-02-08T20:15:12.197Z","related":["GHSA-93xj-8mrv-444m","MGASA-2021-0122","SUSE-SU-2021:1637-1","SUSE-SU-2021:1779-1","SUSE-SU-2021:1806-1","SUSE-SU-2021:1807-1","SUSE-SU-2021:1808-1","openSUSE-SU-2021:0772-1","openSUSE-SU-2021:0796-1","openSUSE-SU-2021:1806-1","openSUSE-SU-2024:11231-1","openSUSE-SU-2024:14141-1"],"references":[{"type":"FIX","url":"https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc"},{"type":"FIX","url":"https://github.com/httplib2/httplib2/pull/182"},{"type":"PACKAGE","url":"https://pypi.org/project/httplib2"},{"type":"EVIDENCE","url":"https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/httplib2/httplib2","events":[{"introduced":"0"},{"fixed":"81e80d00c2b3cb51de6019cfd28b793184d7699a"},{"fixed":"bd9ee252c8f099608019709e22c0d705e98d26bc"}],"database_specific":{"cpe":"cpe:2.3:a:httplib2_project:httplib2:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.19.0"}],"source":["CPE_FIELD","REFERENCES"]}}],"versions":["0.9","0.9.1","0.9.2","v0.10.1","v0.10.3","v0.11.0","v0.11.1","v0.11.2","v0.11.3","v0.12.0","v0.12.3","v0.13.0","v0.13.1","v0.14.0","v0.15.0","v0.16.0","v0.17.0","v0.17.1","v0.17.2","v0.17.3","v0.17.4","v0.18.0","v0.18.1","v0.9","v0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21240.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}