Improper input validation in Pypa Pip
CVE-2018-20225
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
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.017 (76.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Pypa Pip
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_MISC, Release Notes, Vendor Advisory)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (mailing-list, x_refsource_MLIST)
- cve@mitre.org (x_refsource_MISC)
Frequently asked questions
- What is CVE-2018-20225?
- CVE-2018-20225 is a high-severity vulnerability in Pypa Pip, classified under Improper Input Validation. CVSS score: 7.8/10. Published 2020-05-08.
- How severe is CVE-2018-20225?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2018-20225 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.