CVE-2021-21240
Regular Expression Denial of Service (REDoS) in httplib2
7.5
HIGH
CVSS 3.1
EPSS 2.0%
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.
How to fix CVE-2021-21240
To remediate CVE-2021-21240, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 0.19.0 or later
- —upgrade to bd9ee252c8f099608019709e22c0d705e98d26bc or later
Is CVE-2021-21240 being exploited?
Low — EPSS is 2.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0, < 0.19.0
- from 0, < bd9ee252c8f099608019709e22c0d705e98d26bc | from 0, < 0.19.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |