{"id":"CVE-2021-45459","aliases":["EUVD-2022-0452","GHSA-53xv-c2hx-5w6q"],"status":"published","title":"Command Injection in node-windows","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04062,"percentile":0.90738,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2021-12-22T05:26:49Z","modified":"2026-10-20T10:55:08Z","fixes":[{"ecosystem":"npm","package":"node-windows","fixed_in":["1.0.0-beta.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-windows","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0-beta.5"},{"fixed":"1.0.0-beta.6"}]}]},{"source":"osv","ecosystem":"npm","package":"node-windows","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0-beta.6"}]}]}],"products":[{"vendor":"node-windows_project","product":"node-windows"}],"references":[{"url":"https://github.com/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/dwisiswant0/advisory/issues/4","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220107-0004/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45459","tags":["advisory"]},{"url":"https://advisory.dw1.io/4","tags":["web"]},{"url":"https://github.com/coreybutler/node-windows/commit/a379d31366edbd7a672a981e6c09e185ab448dd3","tags":["web"]},{"url":"https://github.com/advisories/GHSA-53xv-c2hx-5w6q"},{"url":"https://github.com/coreybutler/node-windows","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20220107-0004","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-45459","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.","status":"published","published":"2021-12-22T05:26:49Z","modified":"2024-08-04T04:39:21.11Z","updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2022-0452","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.","status":"published","published":"2021-12-22T05:26:49Z","modified":"2024-08-04T04:39:21Z","updated_at":"2026-11-03T03:08:26.917555Z"}],"ghsa":[{"id":"GHSA-53xv-c2hx-5w6q","title":"Command Injection in node-windows","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.","status":"published","published":"2022-01-05T20:39:21Z","modified":"2023-04-14T17:27:39Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:50.476488Z"}],"nvd":[{"id":"CVE-2021-45459","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.","status":"published","published":"2021-12-22T06:15:07.13Z","modified":"2026-06-17T04:13:24.4Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:07:02.566991Z"}],"osv":[{"id":"CVE-2021-45459","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.","status":"published","published":"2021-12-22T06:15:07.13Z","modified":"2026-10-20T10:55:08.696869227Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"GHSA-53xv-c2hx-5w6q","title":"Command Injection in node-windows","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.","status":"published","published":"2022-01-05T20:39:21Z","modified":"2023-11-08T04:07:21.120714Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:37.864461Z"}]}}
