CVE-2021-45459
Command Injection in node-windows
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | node-windows | 1.0.0-beta.6 |
References
- https://advisory.dw1.io/4
- https://github.com/coreybutler/node-windows
- https://github.com/coreybutler/node-windows/commit/a379d31366edbd7a672a981e6c09e185ab448dd3
- https://github.com/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6
- https://github.com/dwisiswant0/advisory/issues/4
- https://nvd.nist.gov/vuln/detail/CVE-2021-45459
- https://security.netapp.com/advisory/ntap-20220107-0004
- https://security.netapp.com/advisory/ntap-20220107-0004/