Advisory

GHSA-www2-v7xj-xrc6

Also known as: CVE-2018-20060, PYSEC-2018-32

Summary

Exposure of Sensitive Information to an Unauthorized Actor in urllib3

Details

urllib3 before version 1.23 does not remove the Authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the Authorization header to be exposed to unintended hosts or transmitted in cleartext.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-12-12 15:52 UTC
Modified
2024-12-27 18:35 UTC

Affected packages and fixes

urllib3

PyPI · All systems

Affected

  • introduced 0, fixed 1.23 (ecosystem)

Fixed versions

1.23

Fix

  • Fixed version 1.23
    pip install --upgrade urllib3==1.23

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences