CVE-2018-25091

urllib3: urllib3 does not remove the authorization HTTP header when following a cross-origin redirect

Published Oct 15, 2023 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0253 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).
Github GHSA Github GHSA GHSA-gwvm-45gx-3cf8 Authorization Header forwarded on redirect
Ubuntu USN Ubuntu USN USN-6473-1 urllib3 vulnerabilities
Ubuntu USN Ubuntu USN USN-6473-2 pip vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 16, 2024, 7:01 PM
Reserved
Oct 15, 2023, 12:00 AM
Status
Modified
Published
Oct 15, 2023, 7:15 PM
Modified
Jun 17, 2026, 1:54 AM
Severity
Moderate
Public date
Oct 15, 2023, 12:00 AM