Resource exhaustion in Httplib2
CVE-2021-21240
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.037, 89.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Httplib2 — versions < 0.19.0
- Httplib2 Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 18 other repositories (11notes/docker-github-runner, ankitv1504/TaskManage-ci-cd, ANTONYOH/midterm_trivy, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m (Exploit, Third Party Advisory, Mitigation)
- github.com/httplib2/httplib2/pull/182 (Patch, Third Party Advisory)
- github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc (Patch, Third Party Advisory)
- pypi.org/project/httplib2 (Product, Third Party Advisory)