Node.js 18 and 2 others: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE-2024-36138 is fixed in 4 products on 2 platforms, first by Node.js 18 18.20.4, released July 8, 2024. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Node.js 18 | 18.20.4 | Node.js 18 18.20.4 | Jul 8, 2024 |
| Node.js 20 | 20.15.1 | Node.js 20 20.15.1 | Jul 8, 2024 |
| Node.js 22 | 22.4.1 | Node.js 22 22.4.1 | Jul 8, 2024 |
| Linux | |||
| nodejs20 · opensuse-leap 15.6 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 | Jul 22, 2024 |
| nodejs20 · sles 15.6 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 | Jul 22, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.