{"id":"CVE-2021-23356","aliases":["CVE-2021-23356","GHSA-qc65-cgvr-93p6"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Command Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete kill-process-by-name.&#xa0;Si se otorga una entrada del usuario (controlada por el atacante), es posible que un atacante ejecute comandos arbitrarios.&#xa0;Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada en el archivo index.js","source":"nvd"}],"published":"2021-03-15T16:40:18.271Z","modified":"2026-06-17T03:38:36.807Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":5.6,"rating":"MEDIUM"},{"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","CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"kill-process-by-name","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.5"}],"ecosystem":"npm","package":"kill-process-by-name","purl":"pkg:npm/kill-process-by-name","source":"ghsa"},{"ranges":[],"vendor":"kill-process-by-name_project","product":"kill-process-by-name","cpe":"cpe:2.3:a:kill-process-by-name_project:kill-process-by-name:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-KILLPROCESSBYNAME-1078534","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23356","tags":["advisory"],"sources":["ghsa"]}],"credits":["OmniTaint"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23356","url":"https://www.cve.org/CVERecord?id=CVE-2021-23356","licence":"CVE Terms of Use","modified":"2024-09-16T19:04:52.266Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qc65-cgvr-93p6","url":"https://github.com/advisories/GHSA-qc65-cgvr-93p6","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:05.005Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23356","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23356","licence":"Public domain","modified":"2026-06-17T03:38:36.807Z"}],"updatedAt":"2026-11-25T22:58:00.292Z","epss":{"score":0.01146,"percentile":0.67672,"date":"2026-12-01T12:00:22.000Z"}}