{"id":"CVE-2021-23356","aliases":["EUVD-2021-0697","GHSA-qc65-cgvr-93p6"],"status":"published","title":"Arbitrary Command Injection","description":"This affects all versions of package kill-process-by-name. 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 in the index.js file.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01146,"percentile":0.67029,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78"],"published":"2021-03-15T16:40:18Z","modified":"2026-06-17T03:38:36Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"kill-process-by-name","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.5"}]}]},{"source":"osv","ecosystem":"npm","package":"kill-process-by-name","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.5"}]}]}],"products":[{"vendor":"kill-process-by-name_project","product":"kill-process-by-name"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-KILLPROCESSBYNAME-1078534","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23356","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qc65-cgvr-93p6"}],"sources":{"cve":[{"id":"CVE-2021-23356","title":"Arbitrary Command Injection","description":"This affects all versions of package kill-process-by-name. 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 in the index.js file.","status":"published","published":"2021-03-15T16:40:18.271Z","modified":"2024-09-16T19:04:52.266Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-0697","description":"This affects all versions of package kill-process-by-name. 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 in the index.js file.","status":"published","published":"2021-03-15T16:40:18Z","modified":"2024-09-16T19:04:52Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"medium"}],"updated_at":"2026-11-03T00:55:26.73018Z"}],"ghsa":[{"id":"GHSA-qc65-cgvr-93p6","title":"Code injection in kill-process-by-name","description":"This affects all versions of package kill-process-by-name. 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 in the index.js file.","status":"published","published":"2021-03-19T21:19:18Z","modified":"2023-01-27T05:00:51Z","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:15.574072Z"}],"nvd":[{"id":"CVE-2021-23356","description":"This affects all versions of package kill-process-by-name. 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 in the index.js file.","status":"published","published":"2021-03-15T17:15:21.517Z","modified":"2026-06-17T03:38:36.807Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"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-78"],"updated_at":"2026-11-02T14:06:50.805771Z"}],"osv":[{"id":"GHSA-qc65-cgvr-93p6","title":"Code injection in kill-process-by-name","description":"This affects all versions of package kill-process-by-name. 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 in the index.js file.","status":"published","published":"2021-03-19T21:19:18Z","modified":"2023-11-08T04:05:05.005463Z","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:54.40888Z"}]}}
