PT-2020-8665

CVE-2018-20225

·

Published

2020-05-08

·

Updated

2026-08-25

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: pip (all versions)
Description: An issue was discovered in pip 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, allowing an attacker to put the package there with an arbitrary version number. It has been reported that this is intended functionality and the user is responsible for using --extra-index-url securely.
Recommendations: As a temporary workaround, consider using the --extra-index-url option securely to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Impacts
Researchers
Vendors
Affected products
Related identifiers
ECHO-072A-9FF7-3371
Found an issue in the description? Have something to add? Feel free to write us 👾