{"id":"GHSA-v2jv-33gh-xx29","summary":"Command Injection in ps-visitor","details":"This affects all versions up to and including version 0.0.2 of package ps-visitor. 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.","aliases":["CVE-2021-23374"],"modified":"2026-03-13T21:56:25.660706Z","published":"2021-05-07T16:06:23Z","database_specific":{"cwe_ids":["CWE-77"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-06T22:31:21Z","nvd_published_at":"2021-04-18T19:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23374"},{"type":"PACKAGE","url":"https://github.com/WisdomKwan/ps-visitor"},{"type":"WEB","url":"https://github.com/WisdomKwan/ps-visitor/blob/cdfc934a8e4af95aa0473f4b2a4bd091d09faf2f/index.js#23L404"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PSVISITOR-1078544"}],"affected":[{"package":{"name":"ps-visitor","ecosystem":"npm","purl":"pkg:npm/ps-visitor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-v2jv-33gh-xx29/GHSA-v2jv-33gh-xx29.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"}]}