7.8
CWE
20
Advisory Published
Updated

CVE-2018-20225: Input Validation

First published: Fri May 08 2020(Updated: )

** DISPUTED ** An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index. This only affects use of the --extra-index-url option, and exploitation requires that the package does not already exist in the public index (and thus the attacker can put the package there with an arbitrary version number). NOTE: it has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely.

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

Affected SoftwareAffected VersionHow to fix
pypa pip

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 CVE-2018-20225?

    CVE-2018-20225 is an issue in pip (all versions) where it installs the version with the highest version number, even if the user had intended to obtain a private package from a private index.

  • How does CVE-2018-20225 affect me?

    If you use pip with the --extra-index-url option to install packages from private indexes, this vulnerability may allow the installation of unintended packages from public indexes.

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

    The severity of CVE-2018-20225 is high with a CVSS score of 7.8.

  • How can I mitigate the risk of CVE-2018-20225?

    To mitigate the risk, avoid using the --extra-index-url option, or only use trusted private indexes.

  • Where can I find more information about CVE-2018-20225?

    You can find more information about CVE-2018-20225 in the references: [1], [2], [3].

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