CVE-2021-21240
Last modified
CVE-2021-21240 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.88% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Httplib2 Project | Httplib2 | < 0.19.0 |
References
- https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bcPatch, Third Party Advisory
- https://github.com/httplib2/httplib2/pull/182Patch, Third Party Advisory
- https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444mExploit, Mitigation, Third Party Advisory
- https://pypi.org/project/httplib2Product, Third Party Advisory
- https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bcPatch, Third Party Advisory
- https://github.com/httplib2/httplib2/pull/182Patch, Third Party Advisory
- https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444mExploit, Mitigation, Third Party Advisory
- https://pypi.org/project/httplib2Product, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-21240?
How severe is CVE-2021-21240?
How do I fix CVE-2021-21240?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-21235kamadak-exif is an exif parsing library written in pure Rust…6.5
- CVE-2021-21236CairoSVG is a Python (pypi) package. CairoSVG is an SVG conv…5.5
- CVE-2021-21237Git LFS is a command line extension for managing large files…7.8
- CVE-2021-21238PySAML2 is a pure python implementation of SAML Version 2 St…6.5
- CVE-2021-21239PySAML2 is a pure python implementation of SAML Version 2 St…6.5
- CVE-2021-2124Vulnerability in the Oracle VM VirtualBox product of Oracle …6
- CVE-2021-21241The Python "Flask-Security-Too" package is used for adding s…7.4
- CVE-2021-21242OneDev is an all-in-one devops platform. In OneDev before ve…9.8
- CVE-2021-21243OneDev is an all-in-one devops platform. In OneDev before ve…9.8
- CVE-2021-21244OneDev is an all-in-one devops platform. In OneDev before ve…9.8
- CVE-2021-21245OneDev is an all-in-one devops platform. In OneDev before ve…9.8
- CVE-2021-21246OneDev is an all-in-one devops platform. In OneDev before ve…7.5
Are you affected by CVE-2021-21240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
