Vulnerability Details : CVE-2021-21240
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2021-21240
- cpe:2.3:a:httplib2_project:httplib2:*:*:*:*:*:python:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21240
3.03%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 86 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21240
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2021-21240
-
The product does not properly control the allocation and maintenance of a limited resource.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-21240
-
https://pypi.org/project/httplib2
httplib2 · PyPIProduct;Third Party Advisory
-
https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m
Regular Expression Denial of Service (REDoS) in httplib2 · Advisory · httplib2/httplib2 · GitHubExploit;Mitigation;Third Party Advisory
-
https://github.com/httplib2/httplib2/pull/182
parse auth headers using pyparsing instead of regexp by temoto · Pull Request #182 · httplib2/httplib2 · GitHubPatch;Third Party Advisory
-
https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc
parse auth headers using pyparsing instead of regexp · httplib2/httplib2@bd9ee25 · GitHubPatch;Third Party Advisory
Jump to