OS Command Injection Affecting snyk-cli package, versions <1.1294.0-r0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.09% (40th 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-SNYKCLI-8303782
  • published25 Oct 2024
  • disclosed23 Oct 2024

Introduced: 23 Oct 2024

CVE-2024-48963  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Chainguard snyk-cli to version 1.1294.0-r0 or higher.

NVD Description

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

The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted PHP project. The vulnerability can be triggered if Snyk test is run inside the untrusted project due to the improper handling of the current working directory name. Snyk recommends only scanning trusted projects.

CVSS Scores

version 3.1