Arbitrary Command Injection Affecting k8s-sidecar-1.22 package, versions <1.22.4-r2


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-CHAINGUARDLATEST-K8SSIDECAR122-6250028
  • published16 Feb 2024
  • disclosed25 Oct 2023

Introduced: 25 Oct 2023

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

How to fix?

Upgrade Chainguard k8s-sidecar-1.22 to version 1.22.4-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream k8s-sidecar-1.22 package and not the k8s-sidecar-1.22 package as distributed by Chainguard. See How to fix? for Chainguard 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