Advisory Published
Updated

REDHAT-BUG-1835736

First published: Thu May 14 2020(Updated: )

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

Affected SoftwareAffected VersionHow to fix
pip<=9999.9999.9999

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.

Frequently Asked Questions

  • What is the vulnerability in REDHAT-BUG-1835736?

    The vulnerability in REDHAT-BUG-1835736 occurs when pip installs the highest version number of a package instead of fetching from the intended private index when the --extra-index-url option is used.

  • What is the potential impact of the REDHAT-BUG-1835736 vulnerability?

    The exploitation of the REDHAT-BUG-1835736 vulnerability can lead to arbitrary code execution by installing malicious packages.

  • How can I mitigate the REDHAT-BUG-1835736 vulnerability?

    To mitigate the REDHAT-BUG-1835736 vulnerability, avoid using the --extra-index-url option or implement version pinning in your package requirements.

  • Which versions of pip are affected by REDHAT-BUG-1835736?

    All versions of pip are affected by the vulnerability described in REDHAT-BUG-1835736.

  • Is there an update available for REDHAT-BUG-1835736?

    Check your package manager or the official pip repository for updates that address the vulnerability in REDHAT-BUG-1835736.

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