VDB
Sign up
MEDIUM6.1

PYSEC-2023-207

Quick fix

PYSEC-2023-207 — urllib3: upgrade to the fixed version with the command below.

pip install --upgrade 'urllib3>=adb358f8e06865406d1f05e581a16cbea2136fbc'

Details

urllib3 before 1.24.2 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. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References