CVE-2018-25091: Infoleak

Published Oct 15, 2023
·
Updated

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

Affected Software

3 affected componentsFixes available
pip/urllib3<1.24.2
1.24.2
Python urllib3<1.24.2
redhat/urllib3<1.24.2
1.24.2

Event History

Oct 15, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
via GitHub·09:30 PM
Oct 16, 2023
Data Sourced
via Red Hat·04:07 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-25091?

The severity of CVE-2018-25091 is medium.

2

How does CVE-2018-25091 affect urllib3 before version 1.24.2?

CVE-2018-25091 allows for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext.

3

How can I fix CVE-2018-25091 in urllib3?

To fix CVE-2018-25091, you need to upgrade urllib3 to version 1.24.2 or higher.

4

Where can I find more information about CVE-2018-25091?

You can find more information about CVE-2018-25091 at the following links: [NIST NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-25091), [GitHub Issue](https://github.com/urllib3/urllib3/issues/1510), [GitHub Commit](https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203