{"id":"CVE-2021-23355","published":"2021-03-15T16:40:22Z","modified":"2024-09-16T17:54:07Z","title":"Arbitrary Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"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. PoC (provided by reporter): var ps_kill = require('ps-kill'); ps_kill.kill('$(touch success)',function(){});","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01201,"percentile":0.68092,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PSKILL-1078529","tags":["x_refsource_MISC"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":13.62},{"name":"CVSS severity","points":3.92}]},"affectedVersions":[{"vendor":"n/a","product":"ps-kill","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"ps-kill","vulnerableRanges":["<=1.0.0"],"patched":[],"from":["GHSA-7qmm-q394-fmch"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-0626","exploited":false,"provenance":"source"}}