CVE-2024-36138
High
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.
SeverityHigh
CVSS8.1
Exploit probability—
ProductNode
PublishedSep 7, 2024
First seenSep 7, 2024
Weakness typeCWE-77Command injection
How to fix
Update
- NodeJS Node4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.20.4, 19.*, 20.15.1, 21.*, 22.4.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NodeJS Node | 4.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.4, 19.0 ≤ v < 19.*, 20.0 ≤ v < 20.15.1, 21.0 ≤ v < 21.*, 22.0 ≤ v < 22.4.1 | 4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.20.4, 19.*, 20.15.1, 21.*, 22.4.1 |
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.