What’s Vulnerable › Vulnerabilities

CVE-2024-27980

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.

Affected products

How to fix

Upgrade to a fixed version: Node.js 18.20.2, 20.12.2, 21.7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27980 or the next vulnerability affects your stack