{"id":"CVE-2021-23374","aliases":["CVE-2021-23374","GHSA-v2jv-33gh-xx29"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Command Injection","summary":"This affects all versions 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions 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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete ps-visitor.&#xa0;Si se proporciona una entrada de usuario controlada por el atacante para la función kill, es posible para un atacante ejecutar comandos arbitrarios.&#xa0;Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada","source":"nvd"}],"published":"2021-04-18T18:40:37.318Z","modified":"2026-06-17T03:38:38.747Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},{"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":"ps-visitor","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.2"}],"ecosystem":"npm","package":"ps-visitor","purl":"pkg:npm/ps-visitor","source":"ghsa"},{"ranges":[],"vendor":"ps-visitor_project","product":"ps-visitor","cpe":"cpe:2.3:a:ps-visitor_project:ps-visitor:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PSVISITOR-1078544","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/WisdomKwan/ps-visitor/blob/cdfc934a8e4af95aa0473f4b2a4bd091d09faf2f/index.js%23L404","tags":["broken-link","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23374","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/WisdomKwan/ps-visitor","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/WisdomKwan/ps-visitor/blob/cdfc934a8e4af95aa0473f4b2a4bd091d09faf2f/index.js#23L404","tags":["web"],"sources":["ghsa"]}],"credits":["OmniTaint"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23374","url":"https://www.cve.org/CVERecord?id=CVE-2021-23374","licence":"CVE Terms of Use","modified":"2024-09-16T17:04:05.835Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v2jv-33gh-xx29","url":"https://github.com/advisories/GHSA-v2jv-33gh-xx29","licence":"CC-BY-4.0","modified":"2026-03-13T21:56:25.660Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23374","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23374","licence":"Public domain","modified":"2026-06-17T03:38:38.747Z"}],"updatedAt":"2026-11-25T22:58:00.849Z","epss":{"score":0.01336,"percentile":0.72041,"date":"2026-12-01T12:00:22.000Z"}}