{"id":"CVE-2021-45459","aliases":["CVE-2021-45459","GHSA-53xv-c2hx-5w6q"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in node-windows","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.","source":"cvelist"},{"lang":"es","text":"el archivo lib/cmd.js en el paquete node-windows versiones anteriores a 1.0.0-beta.6 para Node.js, permite la inyección de comandos por medio del parámetro PID","source":"nvd"}],"published":"2021-12-22T05:26:49.000Z","modified":"2026-06-17T04:13:24.400Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0-beta.6"}],"ecosystem":"npm","package":"node-windows","purl":"pkg:npm/node-windows","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.1.14"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"},{"status":"affected","version":"1.0.0"}],"vendor":"node-windows_project","product":"node-windows","cpe":"cpe:2.3:a:node-windows_project:node-windows:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/dwisiswant0/advisory/issues/4","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220107-0004/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45459","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/coreybutler/node-windows/commit/a379d31366edbd7a672a981e6c09e185ab448dd3","tags":["web"],"sources":["ghsa"]},{"url":"https://advisory.dw1.io/4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/coreybutler/node-windows","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20220107-0004","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45459","url":"https://www.cve.org/CVERecord?id=CVE-2021-45459","licence":"CVE Terms of Use","modified":"2024-08-04T04:39:21.110Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-53xv-c2hx-5w6q","url":"https://github.com/advisories/GHSA-53xv-c2hx-5w6q","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:21.120Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45459","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45459","licence":"Public domain","modified":"2026-06-17T04:13:24.400Z"}],"updatedAt":"2026-11-25T22:58:06.104Z","epss":{"score":0.04062,"percentile":0.91446,"date":"2026-11-30T12:00:22.000Z"}}