Skip to main content
← All vulnerabilities
CVE-2018-25091GHSA-GWVM-45GX-3CF8PYSEC-2023-207

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.24.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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).

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • urllib3PyPI

    fixed in 1.24.2

  • urllib3PyPI

    fixed in 1.24.2

References 3

GitHub · urllib3/urllib3