cve.bz

CVE-2024-36138 nodejs node

8.1 highEPSS 1.1%

High (8.1) in nodejs node. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

8.1 high
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-09-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-77 Improper Neutralization of Special Elements used in a Command
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-36138 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-36138?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-36138?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-36138 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.*
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.*
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.*
NodeJS Nodefrom 15.0 before 15.*
NodeJS Nodefrom 16.0 before 16.*
NodeJS Nodefrom 17.0 before 17.*
NodeJS Nodefrom 18.0 before 18.20.4
NodeJS Nodefrom 19.0 before 19.*
NodeJS Nodefrom 20.0 before 20.15.1
NodeJS Nodefrom 21.0 before 21.*
NodeJS Nodefrom 22.0 before 22.4.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Web and Scripting 12nodejs1818.20.4-8.24.1SUSE-SU-2024:2496-1
SUSELinux Enterprise Module for Web and Scripting 15 SP5nodejs1818.20.4-150400.9.24.2SUSE-SU-2024:2542-1
SUSELinux Enterprise Module for Web and Scripting 15 SP5nodejs2020.15.1-150500.11.12.2SUSE-SU-2024:2543-1
SUSELinux Enterprise Module for Web and Scripting 15 SP6nodejs2020.15.1-150600.3.3.2SUSE-SU-2024:2574-1
openSUSELeap 15.5nodejs1818.20.4-150400.9.24.2SUSE-SU-2024:2542-1
openSUSELeap 15.5nodejs2020.15.1-150500.11.12.2SUSE-SU-2024:2543-1
openSUSELeap 15.6nodejs2020.15.1-150600.3.3.2SUSE-SU-2024:2574-1
openSUSETumbleweednodejs2222.10.0-1.1openSUSE-SU-2024:14435-1
openSUSETumbleweednodejs2424.11.1-2.1openSUSE-SU-2025:15802-1
openSUSETumbleweednodejs2626.3.1-1.1openSUSE-SU-2026:11110-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-40 Manipulating Writeable Terminal Devices Likelihood: High · Severity: Very High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High
  • CAPEC-183 IMAP/SMTP Command Injection Severity: Medium
  • CAPEC-248 Command Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON