Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

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

Published
7 Sep 2024
Modified
17 Jun 2026
High CVE
2 Registry packages
26 OS packages
6 Linux distributions
Yes Fix available

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

Packages affected by CVE-2024-36138
EcosystemPackageVulnerableFixed in
Bitnami node <18.20.4>=19.0.0, <20.15.1>=21.0.0, <22.4.1 18.20.420.15.122.4.1
Bitnami node-min <18.20.5>=19.0.0, <20.18.1>=21.0.0, <22.12.0 18.20.520.18.122.12.0

Open a package to see all its vulnerabilities.

Operating systems · 16 fixes

Photon OS 2 releases · 1 package

fixed 2
nodejs
Photon OS fixes for CVE-2024-36138
ReleasePackageFixed 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

fixed 3
nodejs18 nodejs20
SUSE Linux Enterprise fixes for CVE-2024-36138
ReleasePackageFixed inAdvisory
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

fixed 2
nodejs-16 nodejs-21
chainguard fixes for CVE-2024-36138
ReleasePackageFixed in
nodejs-16 16.20.2-r16
nodejs-21 21.7.3-r13

openSUSE 1 release · 3 packages

fixed 3
corepack22 corepack24 nodejs26
openSUSE fixes for CVE-2024-36138
ReleasePackageFixed inAdvisory
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

fixed 2
nodejs-16 nodejs-21
wolfi fixes for CVE-2024-36138
ReleasePackageFixed in
nodejs-16 16.20.2-r16
nodejs-21 21.7.3-r13

alpine 4 releases · 1 package

not affected 4
nodejs
alpine fixes for CVE-2024-36138
ReleasePackageFixed 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.