CVE-2018-20225
Last modified
CVE-2018-20225 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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). EPSS estimates a 1.74% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pypa | Pip | All versions |
References
- https://pip.pypa.io/en/stable/news/Release Notes, Vendor Advisory
- https://pip.pypa.io/en/stable/news/Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-20225?
How severe is CVE-2018-20225?
How do I fix CVE-2018-20225?
Are you affected by CVE-2018-20225?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
