CVE-2024-27980

High

Description

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductNode
PublishedJan 9, 2025
First seenJan 9, 2025

How to fix

Update
  • NodeJS Node4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.20.2, 19.*, 20.12.2, 21.7.3 or later

Affected products

ProductAffected versionsFixed in
NodeJS Node4.0 ≤ v < 4.*, 5.0 ≤ v < 5.*, 6.0 ≤ v < 6.*, 7.0 ≤ v < 7.*, 8.0 ≤ v < 8.*, 9.0 ≤ v < 9.*, 10.0 ≤ v < 10.*, 11.0 ≤ v < 11.*, 12.0 ≤ v < 12.*, 13.0 ≤ v < 13.*, 14.0 ≤ v < 14.*, 15.0 ≤ v < 15.*, 16.0 ≤ v < 16.*, 17.0 ≤ v < 17.*, 18.0 ≤ v < 18.20.2, 19.0 ≤ v < 19.*, 20.0 ≤ v < 20.12.2, 21.0 ≤ v < 21.7.34.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.20.2, 19.*, 20.12.2, 21.7.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.