Resource Exhaustion Affecting py3-httplib2 package, versions <0.19.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE317-PY3HTTPLIB2-3143596
  • published2 Aug 2021
  • disclosed8 Feb 2021

Introduced: 8 Feb 2021

CVE-2021-21240  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Alpine:3.17 py3-httplib2 to version 0.19.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3-httplib2 package and not the py3-httplib2 package as distributed by Alpine. See How to fix? for Alpine:3.17 relevant fixed versions and status.

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.

CVSS Scores

version 3.1