Data Handling in pip - CVE-2018-20225

 

Data Handling in pip - CVE-2018-20225

Published: April 15, 2024


Vulnerability identifier: #VU88540
CSH Severity: Medium
CVSS v4: 7.5 [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]
CVE-ID: CVE-2018-20225
CWE-ID: CWE-19
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

pip
watsonx.data
watsonx.data integration
Netezza Performance Server Replication Services
IBM Watson Machine Learning Accelerator
IBM Maximo Application Suite - Manage Component
Juniper Cloud Native Router
IBM Netezza Analytics
Junos cRPD

How to mitigate CVE-2018-20225

Install updates from vendor's website.

watsonx.data - update to 2.2
watsonx.data integration - update to 5.2.2
Netezza Performance Server Replication Services - update to 3.0.5.1
IBM Watson Machine Learning Accelerator - update to 5.0.3
IBM Maximo Application Suite - Manage Component - addressed in versions 8.6.17, 8.7.11, 9.0.2
IBM Netezza Analytics - update to 11.2.29
Juniper Cloud Native Router - update to 23.4R1
Junos cRPD - update to 23.4R1

External References

Related Security Bulletins