{"id":"CVE-2021-23375","aliases":["EUVD-2021-1139","GHSA-m8fm-mv5w-33pv"],"status":"published","title":"Arbitrary Command Injection","description":"This affects all versions of package psnode. 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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01347,"percentile":0.7165,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78"],"published":"2021-04-18T18:40:32Z","modified":"2026-06-17T03:38:38Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"psnode","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]},{"source":"osv","ecosystem":"npm","package":"psnode","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.0.1"}]}]}],"products":[{"vendor":"psnode_project","product":"psnode"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PSNODE-1078543","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/nrako/psnode/blob/076f623689e4506d3647505daca13b3f482e0c31/lib/index.js%23L59","tags":["x_refsource_MISC","x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23375","tags":["advisory"]},{"url":"https://www.npmjs.com/package/psnode","tags":["web"]},{"url":"https://github.com/nrako/psnode/blob/076f623689e4506d3647505daca13b3f482e0c31/lib/index.js#23L59","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m8fm-mv5w-33pv"},{"url":"https://github.com/nrako/psnode","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23375","title":"Arbitrary Command Injection","description":"This affects all versions of package psnode. 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.","status":"published","published":"2021-04-18T18:40:32.648Z","modified":"2024-09-17T00:46:22.082Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-1139","description":"This affects all versions of package psnode. 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.","status":"published","published":"2021-04-18T18:40:32Z","modified":"2024-09-17T00:46:22Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high"}],"updated_at":"2026-11-03T00:28:55.842484Z"}],"ghsa":[{"id":"GHSA-m8fm-mv5w-33pv","title":"Command Injection in psnode","description":"This affects all current versions of package psnode. 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.","status":"published","published":"2021-05-06T15:52:59Z","modified":"2023-01-27T05:00:54Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:15.574072Z"}],"nvd":[{"id":"CVE-2021-23375","description":"This affects all versions of package psnode. 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.","status":"published","published":"2021-04-18T19:15:12.483Z","modified":"2026-06-17T03:38:38.853Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:52.03307Z"}],"osv":[{"id":"GHSA-m8fm-mv5w-33pv","title":"Command Injection in psnode","description":"This affects all current versions of package psnode. 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.","status":"published","published":"2021-05-06T15:52:59Z","modified":"2026-03-13T21:57:02.206189Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:51.463834Z"}]}}
