CVE-2024-36138
JSON

8.1high

Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via chil…

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

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.

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 11 moreCVE List
nodejs nodejsfrom 18.0 before 18.20.4, from 20.0 before 20.15.1, from 22.0 before 22.4.1CVE List
node (Bitnami)before 18.20.4, from 19.0.0 before 20.15.1, from 21.0.0 before 22.4.1Bitnami Vulnerability Database
node-min (Bitnami)before 18.20.5, from 19.0.0 before 20.18.1, from 21.0.0 before 22.12.0Bitnami 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

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.

NVD (es)

Se omite la corrección incompleta de CVE-2024-27980, que surge del manejo inadecuado de archivos por lotes con todas las extensiones posibles en Windows a través de child_process.spawn / child_process.spawnSync. Un argumento de línea de comandos malintencionado puede inyectar comandos arbitrarios y lograr la ejecución del código incluso si la opción de shell no está habilitada.

References

Sources

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