{"id":"CVE-2021-23380","aliases":["CVE-2021-23380","GHSA-xfxf-qw26-hr33"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Command Injection","summary":"This affects all versions of package roar-pidusage. If attacker-controlled user input is given to the stat function of this package on certain operating systems, 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 roar-pidusage. If attacker-controlled user input is given to the stat function of this package on certain operating systems, 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 current versions of package roar-pidusage. If attacker-controlled user input is given to the stat function of this package on certain operating systems, 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 roar-pidusage.&#xa0;Si es proporcionada una entrada de usuario controlada por un atacante para la función stat de este paquete en determinados sistemas operativos, 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:45:21.360Z","modified":"2026-06-17T03:38:39.400Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":5.6,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":5.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"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":"roar-pidusage","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.7"}],"ecosystem":"npm","package":"roar-pidusage","purl":"pkg:npm/roar-pidusage","source":"ghsa"},{"ranges":[],"vendor":"roar-pidusage_project","product":"roar-pidusage","cpe":"cpe:2.3:a:roar-pidusage_project:roar-pidusage:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ROARPIDUSAGE-1078528","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Svjard/pidusage/blob/772cd2bd675ff7b1244b6fe3d7541692b1b9e42c/lib/stats.js%23L103","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23380","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Svjard/pidusage","tags":["package"],"sources":["ghsa"]}],"credits":["OmniTaint"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23380","url":"https://www.cve.org/CVERecord?id=CVE-2021-23380","licence":"CVE Terms of Use","modified":"2024-09-16T16:23:56.215Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xfxf-qw26-hr33","url":"https://github.com/advisories/GHSA-xfxf-qw26-hr33","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:06.228Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23380","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23380","licence":"Public domain","modified":"2026-06-17T03:38:39.400Z"}],"updatedAt":"2026-11-25T22:58:00.851Z","epss":{"score":0.01161,"percentile":0.68054,"date":"2026-12-01T12:00:22.000Z"}}