Skip to main content
← All vulnerabilities
CVE-2021-21240PYSEC-2021-16GHSA-93XJ-8MRV-444M

Regular Expression Denial of Service in httplib2

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.19.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • httplib2 httplib2

    fixed in 0.19.0

  • httplib2PyPI

    fixed in 0.19.0

  • httplib2PyPI

    fixed in 0.19.0

References 4

GitHub · httplib2/httplib2

pypi.org