CVE-2021-21240

Summary

CVECVE-2021-21240
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-02-08 20:15:00 UTC
Updated2021-02-12 14:56:00 UTC
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.

Risk And Classification

Problem Types: CWE-400

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Httplib2 Project Httplib2 All All All All
Application Httplib2 Project Httplib2 All All All All

References

ReferenceSourceLinkTags
parse auth headers using pyparsing instead of regexp · httplib2/httplib2@bd9ee25 · GitHub MISC github.com Patch, Third Party Advisory
Regular Expression Denial of Service (REDoS) in httplib2 · Advisory · httplib2/httplib2 · GitHub CONFIRM github.com Exploit, Mitigation, Third Party Advisory
parse auth headers using pyparsing instead of regexp by temoto · Pull Request #182 · httplib2/httplib2 · GitHub MISC github.com Patch, Third Party Advisory
httplib2 · PyPI MISC pypi.org Product, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 183347 Debian Security Update for python-httplib2 (CVE-2021-21240)
  • 501902 Alpine Linux Security Update for py3-httplib2
  • 750016 SUSE Enterprise Linux Security Update for python-httplib2 (SUSE-SU-2021:1637-1)
  • 750086 SUSE Enterprise Linux Security Update for python-httplib2 (SUSE-SU-2021:1806-1)
  • 750087 SUSE Enterprise Linux Security Update for python-httplib2 (SUSE-SU-2021:1807-1)
  • 750195 OpenSUSE Security Update for python-httplib2 (openSUSE-SU-2021:0772-1)
  • 750764 OpenSUSE Security Update for python-httplib2 (openSUSE-SU-2021:1806-1)
  • 982955 Python (pip) Security Update for httplib2 (GHSA-93xj-8mrv-444m)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report