CVE-2024-27980 Affecting npm20 package, versions <20.15.1-150500.11.12.2


Severity

Recommended
high

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (18th 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-SLES155-NPM20-7537037
  • published18 Jul 2024
  • disclosed17 Jul 2024

Introduced: 17 Jul 2024

CVE-2024-27980  (opens in a new tab)

How to fix?

Upgrade SLES:15.5 npm20 to version 20.15.1-150500.11.12.2 or higher.

NVD Description

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

Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject arbitrary commands and achieve code execution even if the shell option is not enabled.