CVE-2021-45459
CRITICAL 9.8CVSS 3.1Command Injection in node-windows
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Published
- 22 Dec 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-53xv-c2hx-5w6q
- Sources
- NVDJSONOSV GHSA-53xv-c2hx-5w6qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-windows_project | node-windowscpe:2.3:a:node-windows_project:node-windows:*:*:*:*:*:node.js:*:* |
<= 0.1.14 | |
| NVD | node-windows_project | node-windowscpe:2.3:a:node-windows_project:node-windows:1.0.0:beta1:*:*:*:node.js:*:* |
= 1.0.0 | |
| NVD | node-windows_project | node-windowscpe:2.3:a:node-windows_project:node-windows:1.0.0:beta2:*:*:*:node.js:*:* |
= 1.0.0 | |
| NVD | node-windows_project | node-windowscpe:2.3:a:node-windows_project:node-windows:1.0.0:beta3:*:*:*:node.js:*:* |
= 1.0.0 | |
| NVD | node-windows_project | node-windowscpe:2.3:a:node-windows_project:node-windows:1.0.0:beta4:*:*:*:node.js:*:* |
= 1.0.0 | |
| NVD | node-windows_project | node-windowscpe:2.3:a:node-windows_project:node-windows:1.0.0:beta5:*:*:*:node.js:*:* |
= 1.0.0 | |
| OSV | npm | node-windows | < 1.0.0-beta.6 | 1.0.0-beta.6 |
References
- https://github.com/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6 · Patch, Third Party Advisory, WEB
- https://github.com/dwisiswant0/advisory/issues/4 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220107-0004/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-45459 · ADVISORY
- https://github.com/coreybutler/node-windows/commit/a379d31366edbd7a672a981e6c09e185ab448dd3 · WEB
- https://advisory.dw1.io/4 · WEB
- https://github.com/coreybutler/node-windows · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 22 Dec 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Jan 2022)