CVE catalog

CVE-2021-21240

python-httplib2: CVE-2021-21240

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.63% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-httplib2sid0.32.0-1fixed
Debianpython-httplib2forky0.32.0-1fixed
Debianpython-httplib2trixie0.22.0-1+deb13u1fixed
Debianpython-httplib2trixie-security0.22.0-1+deb13u1fixed
Debianpython-httplib2bookworm0.20.4-3fixed
Debianpython-httplib2bookworm-security0.20.4-3+deb12u1fixed
Ubuntupython-httplib214.040.8-2vulnerable
Ubuntupython-httplib214.040.8-2build1vulnerable
Ubuntupython-httplib216.040.9+dfsg-2vulnerable
Ubuntupython-httplib216.040.9.1+dfsg-1vulnerable
Ubuntupython-httplib218.040.9.2+dfsg-1vulnerable
Ubuntupython-httplib218.040.9.2+dfsg-1ubuntu0.1vulnerable
Ubuntupython-httplib218.040.9.2+dfsg-1ubuntu0.2vulnerable
Ubuntupython-httplib218.040.9.2+dfsg-1ubuntu0.3vulnerable
Ubuntupython-httplib220.040.11.3-2vulnerable
Ubuntupython-httplib220.040.11.3-2build1vulnerable
Ubuntupython-httplib220.040.14.0-1vulnerable
Ubuntupython-httplib220.040.14.0-1ubuntu1vulnerable
Ubuntupython-httplib222.040.18.1-3ubuntu1vulnerable
Ubuntupython-httplib222.040.20.2-2vulnerable
Ubuntupython-httplib222.040.20.2-2ubuntu0.1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-httplib2sourcesid0.20.2-1not yet assignedNot reported[982738]
Debianpython-httplib2sourceforky0.20.2-1not yet assignedNot reported[982738]
Debianpython-httplib2sourcetrixie0.20.2-1not yet assignedNot reported[982738]
Debianpython-httplib2sourcebookworm0.20.2-1not yet assignedNot reported[982738]

[Debian bug #982738]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-httplib2]

    Details (4)
    • 0.20.4-3 · all · bookworm

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · bookworm; dsa · python-httplib2 · debian · 12

    • 0.20.4-3 · all · bookworm

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · bookworm; dsa · python-httplib2 · debian · 12

    • 0.20.4-3+deb12u1 · all · bookworm-security

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · bookworm; dsa · python-httplib2 · debian · 12

    • 0.20.4-3+deb12u1 · all · bookworm-security

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · bookworm; dsa · python-httplib2 · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-httplib2]

    Details (4)
    • 0.22.0-1 · all · trixie

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · 13

    • 0.22.0-1 · all · trixie

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · 13

    • 0.22.0-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · 13

    • 0.22.0-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 0.20.2-1

      dsa · python-httplib2 · debian · 13

Observed:

References