Vulnerability CVE-2018-20225


Published: 2020-05-08

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).

Type:

CWE-20

(Improper Input Validation)

CVSS2 => (AV:N/AC:M/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.8/10
6.4/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
PYPA -> PIP 

 References:
https://cowlicks.website/posts/arbitrary-code-execution-from-pips-extra-index-url.html
https://pip.pypa.io/en/stable/news/

Copyright 2024, cxsecurity.com

 

Back to Top