#VU88540 Data Handling in pip - CVE-2018-20225

 

#VU88540 Data Handling in pip - CVE-2018-20225

Published: April 15, 2024


Vulnerability identifier: #VU88540
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2018-20225
CWE-ID: CWE-19
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
pip
Software vendor:
Python Packaging Authority

Description

The vulnerability allows a remote attacker to compromise the affected system.

The issue exists due to the way pip handles software versioning during installation with --extra-index-url option enabled, which results in the version with the highest version number to be installed, even if the user had intended to obtain a private package from a private index. A remote attacker compromise the repository and force installation of a malicious package.


Remediation

Install updates from vendor's website.

External links