p PatchFirst

CVE-2021-21240

CVE-2021-21240 · Regular Expression Denial of Service in httplib2

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 7.5 · High · EPSS 3.6% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • httplib2

    Versions
    • < 0.19.0: Affected

    No fix published

  • python-httplib2 Debian:12

    Affected ranges
    • ECOSYSTEM: < 0.20.2-1

    Update to 0.20.2-1

  • python-httplib2 Debian:13

    Affected ranges
    • ECOSYSTEM: < 0.20.2-1

    Update to 0.20.2-1

  • python-httplib2 Debian:14

    Affected ranges
    • ECOSYSTEM: < 0.20.2-1

    Update to 0.20.2-1

  • httplib2 PyPI

    Versions
    • 0.10.3
    • 0.11.0
    • 0.11.1
    • 0.11.3
    • 0.12.0
    • 0.12.1
    • 0.12.3
    • 0.13.0
    • 0.13.1
    • 0.14.0
    • 0.15.0
    • 0.16.0
    • 0.17.0
    • 0.17.1
    • 0.17.2
    • 0.17.3
    • 0.17.4
    • 0.18.0
    • 0.18.1
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.8
    • 0.9
    • 0.9.1
    • 0.9.2
    Affected ranges
    • ECOSYSTEM: < 0.19.0

    Update to 0.19.0

  • httplib2 PyPI

    Versions
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.8
    • 0.9
    • 0.9.1
    • 0.9.2
    • 0.10.3
    • 0.11.0
    • 0.11.1
    • 0.11.3
    • 0.12.0
    • 0.12.1
    • 0.12.3
    • 0.13.0
    • 0.13.1
    • 0.14.0
    • 0.15.0
    • 0.16.0
    • 0.17.0
    • 0.17.1
    • 0.17.2
    • 0.17.3
    • 0.17.4
    • 0.18.0
    • 0.18.1
    Affected ranges
    • GIT: < bd9ee252c8f099608019709e22c0d705e98d26bc
    • ECOSYSTEM: < 0.19.0

    Update to 0.19.0

  • python-httplib2 Ubuntu:14.04:LTS

    Versions
    • 0.8-2
    • 0.8-2build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • python-httplib2 Ubuntu:16.04:LTS

    Versions
    • 0.9+dfsg-2
    • 0.9.1+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • python-httplib2 Ubuntu:18.04:LTS

    Versions
    • 0.9.2+dfsg-1
    • 0.9.2+dfsg-1ubuntu0.1
    • 0.9.2+dfsg-1ubuntu0.2
    • 0.9.2+dfsg-1ubuntu0.3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • python-httplib2 Ubuntu:20.04:LTS

    Versions
    • 0.11.3-2
    • 0.11.3-2build1
    • 0.14.0-1
    • 0.14.0-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • python-httplib2 Ubuntu:22.04:LTS

    Versions
    • 0.18.1-3ubuntu1
    • 0.20.2-2
    • 0.20.2-2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →