Vulnerability Details : 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
Products affected by CVE-2018-20225
- cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-20225
3.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 86 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-20225
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2018-20225
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-20225
-
https://bugzilla.redhat.com/show_bug.cgi?id=1835736
1835736 – (CVE-2018-20225) CVE-2018-20225 python-pip: when --extra-index-url option is used and package does not already exist in the public index, the installation of malicious package with arbitrary
-
https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html
Arbitrary code execution from pip's "—extra-index-url" | cowlicksThird Party Advisory
-
https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2%40%3Cgithub.arrow.apache.org%3E
[GitHub] [arrow] BinduAggarwal opened a new pull request #7294: upgrading pip/wheel/setuptools-Apache Mail Archives
-
https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2@%3Cgithub.arrow.apache.org%3E
[GitHub] [arrow] BinduAggarwal opened a new pull request #7294: upgrading pip/wheel/setuptools - Pony Mail
-
https://pip.pypa.io/en/stable/news/
Changelog — pip 20.1 documentationRelease Notes;Vendor Advisory
Jump to