CVE-2018-20060

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…

published December 11, 2018

CVSS
—
EPSS
4%
Percentile
91.4
In the wild
Unconfirmed
What it is

⚠️ Here's a sneaky issue lurking in urllib3 before version 1.23! When following cross-origin redirects, it forgets to ditch the Authorization HTTP header—like sending your house keys with a guest who doesn't live there! 🔑 Picture this: you hand a friend your house keys (your credentials) for a weekend, but they accidentally drop them off at a complete stranger's house (a different host). Now, that stranger can waltz into your home at any time! That's what could happen when those credentials are still sent to unintended hosts during redirects. An attacker could exploit this oversight, potentially exposing sensitive credentials to unauthorized hosts. This could lead to serious data breaches or unauthorized access, turning a minor redirect into a major security fiasco!

Put simply

Picture this: you hand a friend your house keys (your credentials) for a weekend, but they accidentally drop them off at a complete stranger's house (a different host). Now, that stranger can waltz into your home at any time! That's what could happen when those credentials are still sent to unintended hosts during redirects. The vulnerability allows the Authorization HTTP header to be sent along during cross-origin redirects, failing to remove sensitive authentication information when it changes hosts, ports, or schemes.

What to do

An attacker could exploit this oversight, potentially exposing sensitive credentials to unauthorized hosts. This could lead to serious data breaches or unauthorized access, turning a minor redirect into a major security fiasco! To secure your applications, upgrade urllib3 to version 1.23 or later immediately. Review your redirect handling practices to ensure sensitive information isn't inadvertently transmitted across origins. You’ve got this! With these steps, you’ll keep your credentials safe and sound. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.04488 · 91.4th percentile
Published
2018-12-11T17:00Z
EPSS history
Timeline
  • 11 DEC 17:00Z
    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…
    cvelistv5