ADVISORIES

Vulnerability

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.

22 advisories report this vulnerability, across 8 ecosystems.

Advisories in PyPI

  • GHSA-93xj-8mrv-444m

    Regular Expression Denial of Service (REDoS) in httplib2

    High CVE-2021-21240 PyPI Updated 10 September 2026
  • PYSEC-2021-16

    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…

    CVE-2021-21240 PyPI Updated 8 November 2023

References