Security mailing lists by PureSourceCode

CVE-2021-21240

HIGH 7.5CVSS 3.1

Regular Expression Denial of Service (REDoS) in httplib2

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.

Published
8 Feb 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-93xj-8mrv-444mPYSEC-2021-16
Sources
NVDJSONOSV GHSA-93xj-8mrv-444mJSONOSV PYSEC-2021-16JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD httplib2_project httplib2
cpe:2.3:a:httplib2_project:httplib2:*:*:*:*:*:python:*:*
< 0.19.0 0.19.0
OSV PyPI httplib2 < 0.19.0 0.19.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Feb 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Feb 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Feb 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.