SB2020050805 - Remote code execution in pip



SB2020050805 - Remote code execution in pip

Published: May 8, 2020 Updated: April 15, 2024

Security Bulletin ID SB2020050805
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Data Handling (CVE-ID: CVE-2018-20225)

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 update from vendor's website.