VDB
Sign up
CRITICAL9.8

PYSEC-2018-32

Quick fix

PYSEC-2018-32 — urllib3: upgrade to the fixed version with the command below.

pip install --upgrade 'urllib3>=1.23'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/urllib3
Introduced in: 0Fixed in: 1.23
Fixpip install --upgrade 'urllib3>=1.23'

References