CVE-2018-20225
CVSS V2 Medium 6.8
CVSS V3 High 7.8
Description
** DISPUTED ** 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.
Overview
- CVE ID
- CVE-2018-20225
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2020-05-08T18:15:10
- Last Modified Date
- 2020-06-01T17:15:12
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- 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 Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://pip.pypa.io/en/stable/news/ | Release Notes Vendor Advisory |
https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html | Third Party Advisory |
https://lists.apache.org/thread.html/rb1adce798445facd032870d644eb39c4baaf9c4a7dd5477d12bb6ab2@%3Cgithub.arrow.apache.org%3E | |
https://bugzilla.redhat.com/show_bug.cgi?id=1835736 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-20225 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20225 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:29:55 | Added to TrackCVE | |||
2022-12-04 16:19:48 | 2020-05-08T18:15Z | 2020-05-08T18:15:10 | CVE Published Date | updated |
2022-12-04 16:19:48 | 2020-06-01T17:15:12 | CVE Modified Date | updated | |
2022-12-04 16:19:48 | Modified | Vulnerability Status | updated |