7.5
HIGH
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.

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.

Affected Products

The following products are affected by CVE-2021-21240 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Httplib2_project httplib2
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

Updated: 10 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 23, 2023, 2:11 a.m. This repo has been linked 2 different CVEs too.

None

Smarty

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : July 11, 2023, 9:29 a.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 15, 2022, 7:56 p.m. This repo has been linked 2 different CVEs too.

None

Python JavaScript C#

Updated: 2 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : March 22, 2022, 1:01 p.m. This repo has been linked 11 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : March 10, 2022, 12:52 a.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 8, 2022, 12:05 p.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 8 months, 3 weeks ago
3 stars 0 fork 0 watcher
Born at : Dec. 24, 2021, 7:49 a.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 8 months, 3 weeks ago
3 stars 0 fork 0 watcher
Born at : Dec. 23, 2021, 6:08 a.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 2 years, 11 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 23, 2021, 1:26 a.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Makefile Shell Go Smarty Open Policy Agent Mustache

Updated: 3 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Aug. 25, 2021, 7:19 a.m. This repo has been linked 2 different CVEs too.

Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues

Dockerfile

Updated: 2 years, 5 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 3, 2021, 4:42 a.m. This repo has been linked 2 different CVEs too.

Find regular expressions which are vulnerable to ReDoS (Regular Expression Denial of Service)

Python JavaScript C#

Updated: 1 month ago
782 stars 50 fork 50 watcher
Born at : Nov. 24, 2020, 7:24 p.m. This repo has been linked 11 different CVEs too.

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability