Vulnerability · Published Sep 7, 2024 · Assigned by hackerone
CVE-2024-36138
High 8.1
In plain English
A high-severity command injection in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)8.1High
Exploit odds (30 days)1.1%top 34.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | nodejs | 0 | ALPINE-CVE-2024-36138 |
| Alpine:v3.21 | nodejs | 0 | ALPINE-CVE-2024-36138 |
| Alpine:v3.22 | nodejs | 0 | ALPINE-CVE-2024-36138 |
| Alpine:v3.23 | nodejs | 0 | ALPINE-CVE-2024-36138 |
| Alpine:v3.24 | nodejs | 0 | ALPINE-CVE-2024-36138 |
Affected products (as reported)
Weakness: CWE-77 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H