CVE-2021-21240
Apache HTTP Authentication Header Parsing Buffer Overread DoS
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.
INFO
Published Date :
Feb. 8, 2021, 8:15 p.m.
Last Modified :
Feb. 12, 2021, 2:56 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-21240 has a 12 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-21240
.
URL | Resource |
---|---|
https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc | Patch Third Party Advisory |
https://github.com/httplib2/httplib2/pull/182 | Patch Third Party Advisory |
https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m | Exploit Mitigation Third Party Advisory |
https://pypi.org/project/httplib2 | Product Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Shell Go Makefile Smarty Dockerfile Open Policy Agent Mustache
None
Smarty
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Python JavaScript C#
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
None
Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache
Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues
Dockerfile
Find regular expressions which are vulnerable to ReDoS (Regular Expression Denial of Service)
Python JavaScript C#
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-21240
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-21240
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Feb. 12, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc No Types Assigned https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc Patch, Third Party Advisory Changed Reference Type https://github.com/httplib2/httplib2/pull/182 No Types Assigned https://github.com/httplib2/httplib2/pull/182 Patch, Third Party Advisory Changed Reference Type https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m No Types Assigned https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m Exploit, Mitigation, Third Party Advisory Changed Reference Type https://pypi.org/project/httplib2 No Types Assigned https://pypi.org/project/httplib2 Product, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:httplib2_project:httplib2:*:*:*:*:*:python:*:* versions up to (excluding) 0.19.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-21240
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-21240
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.36 }} 0.14%
score
0.69250
percentile