{"id":"CVE-2017-1000220","aliases":["GHSA-h2p3-h48h-9jj7"],"url":"https://o3.security/vulnerability/CVE-2017-1000220","summary":"PIDUsage Enables OS Command Injection","details":"### 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 && /usr/local/bin/python');\n```\n\n### Remediation\nUpdate to version 1.1.5 or later.","published":"2017-11-17T01:29:00.513Z","modified":"2026-10-24T10:30:30.767030645Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.05056,"percentile":0.91653,"asOf":"2026-08-22"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"pidusage","fixedVersion":"1.1.5"}],"fix":{"url":"https://github.com/soyuka/pidusage/commit/b70eca15f7ca7f1b82a15f8a5d4bb48737f5a89d","label":"soyuka/pidusage@b70eca1"},"references":[{"type":"EVIDENCE","url":"https://nodesecurity.io/advisories/356"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000220"},{"type":"WEB","url":"https://github.com/soyuka/pidusage/commit/b70eca15f7ca7f1b82a15f8a5d4bb48737f5a89d"},{"type":"PACKAGE","url":"https://github.com/soyuka/pidusage"},{"type":"WEB","url":"https://web.archive.org/web/20201208183910/https://www.npmjs.com/advisories/356"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-24T10:30:30.767030645Z"}}