CVE-2021-45459 json
Command Injection in node-windows
published 2021-12-22 4 y ago modified 2026-06-17 4 mo ago also GHSA-53xv-c2hx-5w6q , EUVD-2022-0452
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
Patch / fix
- npm node-windows 1.0.0-beta.6
Exploit prediction
4.06% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/dwisiswant0/advisory/issues/4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-windows | <1.0.0-beta.6 |
1.0.0-beta.6 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6
web, patch, third-party-advisory
-
github.com
/dwisiswant0/advisory/issues/4
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/coreybutler/node-windows/commit/a379d31366edbd7a672a981e6c09e185ab448dd3
web
-
security.netapp.com
/advisory/ntap-20220107-0004/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-45459
advisory
-
advisory.dw1.io
/4
web
-
github.com
/coreybutler/node-windows
package
-
security.netapp.com
/advisory/ntap-20220107-0004
web
Sources
- CVE List CVE-2021-45459
- GitHub Advisory GHSA-53xv-c2hx-5w6q
- NVD CVE-2021-45459
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.