{"id":"CVE-2017-1000220","aliases":["EUVD-2022-4045","GHSA-h2p3-h48h-9jj7"],"status":"published","title":"PIDUsage Enables OS Command Injection","description":"soyuka/pidusage \u003c=1.1.4 is vulnerable to command injection in the module resulting in arbitrary command execution","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.05056,"percentile":0.92376,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2017-11-17T01:00:00Z","modified":"2026-10-24T10:30:30Z","fixes":[{"ecosystem":"npm","package":"pidusage","fixed_in":["1.1.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"pidusage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.1.4"},{"fixed":"1.1.5"}]}]},{"source":"osv","ecosystem":"npm","package":"pidusage","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.5"}]}]}],"products":[{"vendor":"pidusage_project","product":"pidusage"}],"references":[{"url":"https://nodesecurity.io/advisories/356","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000220","tags":["advisory"]},{"url":"https://web.archive.org/web/20201208183910/https://www.npmjs.com/advisories/356","tags":["web"]},{"url":"https://github.com/soyuka/pidusage/commit/b70eca15f7ca7f1b82a15f8a5d4bb48737f5a89d","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h2p3-h48h-9jj7"},{"url":"https://github.com/soyuka/pidusage","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2017-1000220","description":"soyuka/pidusage \u003c=1.1.4 is vulnerable to command injection in the module resulting in arbitrary command execution","status":"published","published":"2017-11-17T01:00:00Z","modified":"2024-09-16T18:28:54.975Z","updated_at":"2026-11-02T14:33:21.142987Z"}],"euvd":[{"id":"EUVD-2022-4045","description":"soyuka/pidusage \u003c=1.1.4 is vulnerable to command injection in the module resulting in arbitrary command execution","status":"published","published":"2017-11-17T01:00:00Z","modified":"2024-09-16T18:28:54Z","updated_at":"2026-11-03T00:55:32.504958Z"}],"ghsa":[{"id":"GHSA-h2p3-h48h-9jj7","title":"PIDUsage Enables OS Command Injection","description":"### Overview\nAffected versions of pidusage pass unsanitized input to `child_process.exec()`, resulting in arbitrary code execution in the `ps` method.\n\nThis package is vulnerable to this PoC on Darwin, SunOS, FreeBSD, and AIX.\n\nWindows and Linux are not vulnerable.\n\n### Proof of Concept\n```js\nvar pid = require('pidusage');\npid.stat('1 \u0026\u0026 /usr/local/bin/python');\n```\n\n### Remediation\nUpdate to version 1.1.5 or later.","status":"published","published":"2022-05-13T01:41:00Z","modified":"2024-10-16T16:50:15Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:38:11.479492Z"}],"nvd":[{"id":"CVE-2017-1000220","description":"soyuka/pidusage \u003c=1.1.4 is vulnerable to command injection in the module resulting in arbitrary command execution","status":"published","published":"2017-11-17T01:29:00.513Z","modified":"2026-06-17T00:58:55.833Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/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:04:08.635428Z"}],"osv":[{"id":"CVE-2017-1000220","description":"soyuka/pidusage \u003c=1.1.4 is vulnerable to command injection in the module resulting in arbitrary command execution","status":"published","published":"2017-11-17T01:29:00.513Z","modified":"2026-10-24T10:30:30.767030645Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"GHSA-h2p3-h48h-9jj7","title":"PIDUsage Enables OS Command Injection","description":"### Overview\nAffected versions of pidusage pass unsanitized input to `child_process.exec()`, resulting in arbitrary code execution in the `ps` method.\n\nThis package is vulnerable to this PoC on Darwin, SunOS, FreeBSD, and AIX.\n\nWindows and Linux are not vulnerable.\n\n### Proof of Concept\n```js\nvar pid = require('pidusage');\npid.stat('1 \u0026\u0026 /usr/local/bin/python');\n```\n\n### Remediation\nUpdate to version 1.1.5 or later.","status":"published","published":"2022-05-13T01:41:00Z","modified":"2024-10-16T16:50:14Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:48.546324Z"}]}}
