{"id":"CVE-2021-23359","published":"2021-03-18T12:40:15Z","modified":"2024-09-17T03:18:03Z","title":"Arbitrary Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects all versions of package port-killer. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01654,"percentile":0.76473,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078533","tags":["x_refsource_MISC"]},{"url":"https://github.com/tylerjpeterson/port-killer/blob/1ca3a99ad80cc9ed5498d12b185189c10329025b/index.js%23L19","tags":["x_refsource_MISC"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":15.29},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"port-killer","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"port-killer","vulnerableRanges":["<=1.0.1"],"patched":[],"from":["GHSA-2548-q746-x5x6"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-0733","exploited":false,"provenance":"source"}}