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-27980

Node.js: Fail to Escape Arguments Properly in Microsoft Windows

Overview

Published
9 Jan 2025
Modified
17 Jun 2026
High CVE
2 Registry packages
18 OS packages
4 Linux distributions
Yes Fix available

Description

Due to the improper handling of batch files in 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-27980
EcosystemPackageVulnerableFixed in
Bitnami node <18.20.2>=19.0.0, <20.12.2>=21.0.0, <21.7.3 18.20.220.12.221.7.3
Bitnami node-min <18.20.2>=19.0.0, <20.12.2>=21.0.0, <21.7.3 18.20.220.12.221.7.3

Open a package to see all its vulnerabilities.

Operating systems · 13 fixes

SUSE Linux Enterprise 2 releases · 2 packages

fixed 3
nodejs18 nodejs20
SUSE Linux Enterprise fixes for CVE-2024-27980
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 · 4 packages

fixed 4
nodejs-16 nodejs-18 nodejs-20 nodejs-21
chainguard fixes for CVE-2024-27980
ReleasePackageFixed in
nodejs-16 16.20.2-r16
nodejs-18 18.20.2-r0
nodejs-20 20.12.2-r0
nodejs-21 21.7.3-r0

openSUSE 1 release · 2 packages

fixed 2
corepack20 corepack21
openSUSE fixes for CVE-2024-27980
ReleasePackageFixed inAdvisory
Tumbleweed corepack20 +4 20.15.1-1.1 openSUSE-SU-2024:14214-1
Tumbleweed corepack21 +4 21.7.3-1.1 openSUSE-SU-2024:14025-1

wolfi 1 release · 4 packages

fixed 4
nodejs-16 nodejs-18 nodejs-20 nodejs-21
wolfi fixes for CVE-2024-27980
ReleasePackageFixed in
nodejs-16 16.20.2-r16
nodejs-18 18.20.2-r0
nodejs-20 20.12.2-r0
nodejs-21 21.7.3-r0

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.