ADVISORIES

GitHub Advisory Database

GHSA-www2-v7xj-xrc6

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.

Affected packages

EcosystemPackageAffected versions
PyPIurllib3
All versions before 1.23 (fixed in 1.23)

References