Arbitrary Command Injection Affecting pip package, versions [,23.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PIP-6036008
  • published26 Oct 2023
  • disclosed25 Oct 2023
  • creditUnknown

Introduced: 25 Oct 2023

CVE-2023-5752  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade pip to version 23.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection when installing a package from a Mercurial VCS URL. An attacker can inject arbitrary configuration options to the hg clone call via the --config option, which can modify how and which repository is installed. This is only exploitable when installing from Mercurial VCS URLs..

CVSS Scores

version 3.1