Advisory

PYSEC-2021-16

Also known as: CVE-2021-21240, GHSA-93xj-8mrv-444m

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-02-08 20:15 UTC
Modified
2023-11-08 04:04 UTC

Affected packages and fixes

httplib2

PyPI · All systems

Affected

  • introduced 0, fixed 0.19.0 (ecosystem)

Fixed versions

0.19.0

Fix

  • Fixed version 0.19.0
    pip install --upgrade httplib2==0.19.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences