CVE-2018-20225
HIGH EPSS 74.8%
Published May 8, 20206y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
Published May 8, 2020 6y ago
Last Modified Jun 17, 2026 2w ago
Description
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
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
74.8% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-20 Improper Input Validation Validation
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| pypa | pip | * | any |
References 4
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1835736
- cowlicks.website https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html
- lists.apache.org https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3E
- pip.pypa.io https://pip.pypa.io/en/stable/news/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.