{"id":"CVE-2021-23374","aliases":[],"url":"https://o3.security/vulnerability/CVE-2021-23374","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.","published":"2021-05-07T16:06:23Z","modified":"2026-03-13T21:56:25.660706Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"ps-visitor","fixedVersion":null}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-03-13T21:56:25.660706Z"}}