CVE-2024-48963
JavaScript vulnerability analysis and mitigation

Overview

The Snyk CLI package versions before 1.1294.0 contain a Code Injection vulnerability (CVE-2024-48963) when scanning untrusted PHP projects. The vulnerability was discovered and disclosed on October 23, 2024, affecting the Snyk CLI software package. The issue occurs when running Snyk test inside an untrusted project due to improper handling of the current working directory name (NVD, CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) by NIST with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Snyk's own assessment rates it with a CVSS v3.1 score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (NVD).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code through code injection when the Snyk CLI is used to scan untrusted PHP projects. The vulnerability affects the confidentiality, integrity, and availability of the system with high severity ratings across all three aspects (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade to Snyk CLI version 1.1294.0 or later. Additionally, Snyk recommends only scanning trusted projects as a security measure. A fix has been released in the snyk-php-plugin version 1.10.0 (Release Notes).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-58754HIGH7.5
  • JavaScriptJavaScript
  • grafana-azure-monitor
NoYesSep 12, 2025
CVE-2025-59049HIGH7.5
  • JavaScriptJavaScript
  • @mockoon/cli
NoYesSep 10, 2025
CVE-2025-59052HIGH7.1
  • JavaScriptJavaScript
  • @angular/platform-server
NoYesSep 10, 2025
CVE-2025-59139MEDIUM5.3
  • JavaScriptJavaScript
  • hono
NoYesSep 12, 2025
CVE-2025-9910LOW1.3
  • JavaScriptJavaScript
  • jsondiffpatch
NoYesSep 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management