Arbitrary Command Injection Affecting python312-pip package, versions <23.2.1-150600.3.3.1


Severity

Recommended
medium

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.5% (42nd 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 IDSNYK-SLES156-PYTHON312PIP-7923987
  • published7 Sept 2024
  • disclosed6 Sept 2024

Introduced: 6 Sep 2024

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

How to fix?

Upgrade SLES:15.6 python312-pip to version 23.2.1-150600.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python312-pip package and not the python312-pip package as distributed by SLES. See How to fix? for SLES:15.6 relevant fixed versions and status.

When installing a package from a Mercurial VCS URL (ie "pip install hg+...") with pip prior to v23.3, the specified Mercurial revision could be used to inject arbitrary configuration options to the "hg clone" call (ie "--config"). Controlling the Mercurial configuration can modify how and which repository is installed. This vulnerability does not affect users who aren't installing from Mercurial.

CVSS Base Scores

version 3.1