Skip to content
OpenAdvisories
High · 7.5 CVE-2021-21240 EUVD-2021-0098GHSA-93xj-8mrv-444mPYSEC-2021-16

Regular Expression Denial of Service in httplib2

Published Feb 8, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
httplib2 httplib2 < 0.19.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-httplib2 0.20.2-1 —
Debian 13 python-httplib2 0.20.2-1 —
Debian 12 python-httplib2 0.20.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS python-httplib2 No fix yet —
Ubuntu 20.04 LTS python-httplib2 No fix yet —
Ubuntu 18.04 LTS python-httplib2 No fix yet —
Ubuntu 16.04 LTS python-httplib2 No fix yet —
Ubuntu 14.04 LTS python-httplib2 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat OpenStack 16 python-httplib2 +1 0.13.1-2.el8ost RHSA-2021:2116
ReleasePackageFixed inAdvisory
SLES 15 SP3 python-httplib2 0.19.0-3.3.1 SUSE-SU-2021:1806-1
SLES 15 SP2 python-httplib2 0.19.0-3.3.1 SUSE-SU-2021:1806-1
SLES 15 python-httplib2 0.19.0-1.8.1 SUSE-SU-2021:1637-1
SLES 12 python-httplib2 0.19.0-7.7.1 SUSE-SU-2021:1807-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP2 python-httplib2 0.19.0-bp152.3.3.1 openSUSE-SU-2021:0796-1
SUSE OpenStack Cloud Crowbar 9 python-httplib2 0.19.0-8.3.4 SUSE-SU-2021:1779-1
SUSE OpenStack Cloud Crowbar 8 python-httplib2 0.19.0-7.3.1 SUSE-SU-2021:1808-1
SUSE OpenStack Cloud 9 python-httplib2 0.19.0-8.3.4 SUSE-SU-2021:1779-1
SUSE OpenStack Cloud 8 python-httplib2 0.19.0-7.3.1 SUSE-SU-2021:1808-1
SUSE OpenStack Cloud 7 python-httplib2 0.19.0-7.7.1 SUSE-SU-2021:1807-1
SUSE HPE Helion OpenStack 8 python-httplib2 0.19.0-7.3.1 SUSE-SU-2021:1808-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-httplib2 0.19.1-1.2 openSUSE-SU-2026:11203-1, openSUSE-SU-2024:14141-1, openSUSE-SU-2024:11231-1
openSUSE Leap 15.3 python-httplib2 0.19.0-3.3.1 openSUSE-SU-2021:1806-1
openSUSE Leap 15.2 python-httplib2 0.19.0-lp152.6.3.1 openSUSE-SU-2021:0772-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-httplib2 0.19.0-r0 —
Alpine v3.23 py3-httplib2 0.19.0-r0 —
Alpine v3.22 py3-httplib2 0.19.0-r0 —
Alpine v3.21 py3-httplib2 0.19.0-r0 —
Alpine v3.20 py3-httplib2 0.19.0-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 py3-httplib2 0.19.0-r0 —
Alpine v3.18 py3-httplib2 0.19.0-r0 —
Alpine v3.17 py3-httplib2 0.19.0-r0 —
Alpine v3.16 py3-httplib2 0.19.0-r0 —
Alpine v3.15 py3-httplib2 0.19.0-r0 —
Alpine v3.14 py3-httplib2 0.19.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI httplib2 < 0.19.0 0.19.0 GHSA-93xj-8mrv-444m

Advisories 12

References