CVE-2024-27980 Affecting nodejs-16 package, versions <16.20.2-r16


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.4% (73rd 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-WOLFILATEST-NODEJS16-15405449
  • published5 Mar 2026
  • disclosed9 Jan 2025

Introduced: 9 Jan 2025

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

How to fix?

Upgrade Wolfi nodejs-16 to version 16.20.2-r16 or higher.

NVD Description

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