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.
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-77
Affected packages · 2
Operating systems · 16 fixes
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.20.4-1.ph4 |
| 5.0 | nodejs +1 | 20.15.1-1.ph5 |
SUSE Linux Enterprise 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.5 | nodejs18 +3 | 18.20.4-150400.9.24.2 | SUSE-SU-2024:2542-1 |
| 15.5 | nodejs20 +3 | 20.15.1-150500.11.12.2 | SUSE-SU-2024:2543-1 |
| 15.6 | nodejs20 +3 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-16 | 16.20.2-r16 | |
| nodejs-21 | 21.7.3-r13 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack22 +4 | 22.10.0-1.1 | openSUSE-SU-2024:14435-1 |
| Tumbleweed | corepack24 +4 | 24.11.1-2.1 | openSUSE-SU-2025:15802-1 |
| Tumbleweed | nodejs26 +3 | 26.3.1-1.1 | openSUSE-SU-2026:11110-1 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-16 | 16.20.2-r16 | |
| nodejs-21 | 21.7.3-r13 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nodejs | not affected |
| 3.23 | nodejs | not affected |
| 3.24 | nodejs | not affected |
| edge | nodejs | not affected |
References
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.