What’s Vulnerable › Vulnerabilities

CVE-2024-36138

Description

Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via 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: nodejs 18.20.4, 20.15.1, 22.4.1. Check the vendor advisory for mitigations.

References

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