PyPi: Httplib2

CVE-2021-21240

Safety vulnerability ID: 39608

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 08, 2021 Updated at Mar 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

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. See CVE-2021-21240.

Affected package

httplib2

Latest version: 0.22.0

A comprehensive HTTP client library.

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-21240.


CONFIRM:https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m: https://github.com/httplib2/httplib2/security/advisories/GHSA-93xj-8mrv-444m
MISC:https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc: https://github.com/httplib2/httplib2/commit/bd9ee252c8f099608019709e22c0d705e98d26bc
MISC:https://github.com/httplib2/httplib2/pull/182: https://github.com/httplib2/httplib2/pull/182
MISC:https://pypi.org/project/httplib2: https://pypi.org/project/httplib2

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 5.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Impact (A)
PARTIAL