{"id":"CVE-2021-23355","aliases":[],"url":"https://o3.security/vulnerability/CVE-2021-23355","summary":"Command Injection in ps-kill","details":"This affects all versions of package ps-kill. If (attacker-controlled) user input is given to the kill function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization in the index.js file. \n\nPoC (provided by reporter): \n```js\nvar ps_kill = require('ps-kill');\nps_kill.kill('$(touch success)', function() {});\n```","published":"2021-03-19T21:19:29Z","modified":"2023-11-08T04:05:04.939274Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"ps-kill","fixedVersion":null}],"fix":null,"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23355"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PSKILL-1078529"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:05:04.939274Z"}}