CWE
200 601
Advisory Published
Advisory Published
Updated

CVE-2018-25091: Infoleak

First published: Sun 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 <a href="https://access.redhat.com/security/cve/CVE-2018-20060">CVE-2018-20060</a> (which was case-sensitive). <a href="https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2">https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2</a> <a href="https://github.com/urllib3/urllib3/issues/1510">https://github.com/urllib3/urllib3/issues/1510</a> <a href="https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc">https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc</a>

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Python urllib3<1.24.2
pip/urllib3<1.24.2
1.24.2
redhat/urllib3<1.24.2
1.24.2
<1.24.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2018-25091?

    The severity of CVE-2018-25091 is medium.

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

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203