CVE-2024-36138 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 comman...
HighCVSS 8.1
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Debian
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.
Upgrade path
8 packages: 7 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nodejs node | >= 4.0; >= 5.0; >= 6.0; >= 7.0 +15 more | 18.20.4, 20.15.1, 22.4.1 | Partially fixed |
| alpine/nodejs(Alpine v3.19) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.20) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.21) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.22) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.23) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.24) | < 0 | 0 | Fixed |
| nodejs | >= 18.0, < 18.20.4; >= 20.0, < 20.15.1; >= 22.0, < 22.4.1 | 18.20.4, 20.15.1, 22.4.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | >= 4.0 | No fix listed |
| nodejs node | >= 5.0 | No fix listed |
| nodejs node | >= 6.0 | No fix listed |
| nodejs node | >= 7.0 | No fix listed |
| nodejs node | >= 8.0 | No fix listed |
| nodejs node | >= 9.0 | No fix listed |
| nodejs node | >= 10.0 | No fix listed |
| nodejs node | >= 11.0 | No fix listed |
| nodejs node | >= 12.0 | No fix listed |
| nodejs node | >= 13.0 | No fix listed |
| nodejs node | >= 14.0 | No fix listed |
| nodejs node | >= 15.0 | No fix listed |
| nodejs node | >= 16.0 | No fix listed |
| nodejs node | >= 17.0 | No fix listed |
| nodejs node | >= 18.0, < 18.20.4 | 18.20.4 |
| nodejs node | >= 19.0 | No fix listed |
| nodejs node | >= 20.0, < 20.15.1 | 20.15.1 |
| nodejs node | >= 21.0 | No fix listed |
| nodejs node | >= 22.0, < 22.4.1 | 22.4.1 |
| nodejs | >= 18.0, < 18.20.4 | 18.20.4 |
| nodejs | >= 20.0, < 20.15.1 | 20.15.1 |
| nodejs | >= 22.0, < 22.4.1 | 22.4.1 |
| alpine/nodejs(Alpine:v3.19) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.20) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.21) | < 0 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/nodejs(Alpine:v3.22) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.23) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.24) | < 0 | No fix listed |
References
- nodejs.org
- security.netapp.com
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2024-36138 vendor-advisory