CVE-2024-27980
JSON

8.1high

Due to the improper handling of batch files in childprocess.spawn / childprocess.spawnSync, a malicious command line argument can inject ar…

Severity
8.1high CVSS:3.0 by hackerone
Exploit likelihood
1.40% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2024-27980BIT-NODE-MIN-2024-27980

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.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 10 moreCVE List
node (Bitnami)before 18.20.2, from 19.0.0 before 20.12.2, from 21.0.0 before 21.7.3Bitnami Vulnerability Database
node-min (Bitnami)before 18.20.2, from 19.0.0 before 20.12.2, from 21.0.0 before 21.7.3Bitnami Vulnerability Database

All scores

hackerone8.1high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-77

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Debido al gestión inadecuado de archivos por lotes en child_process.spawn / child_process.spawnSync, un argumento de línea de comandos malicioso puede inyectar comandos arbitrarios y lograr la ejecución de código incluso si la opción de shell no está habilitada.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27980 changed 2025-04-30CVE Terms of Use
NVDCVE-2024-27980 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2024-27980 changed 2025-04-03Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2024-27980 changed 2025-04-03Apache-2.0