{"id":"GHSA-qc65-cgvr-93p6","summary":"Code injection in kill-process-by-name","details":"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.","aliases":["CVE-2021-23356"],"modified":"2023-11-08T04:05:05.005463Z","published":"2021-03-19T21:19:18Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-03-16T22:24:54Z","nvd_published_at":"2021-03-15T17:15:00Z","cwe_ids":["CWE-77"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23356"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-KILLPROCESSBYNAME-1078534"}],"affected":[{"package":{"name":"kill-process-by-name","ecosystem":"npm","purl":"pkg:npm/kill-process-by-name"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-qc65-cgvr-93p6/GHSA-qc65-cgvr-93p6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}