{"id":"CVE-2021-23348","aliases":["GHSA-vm67-7vmg-66vm","SNYK-JS-PORTPROCESSES-1078536"],"url":"https://o3.security/vulnerability/CVE-2021-23348","summary":"Arbitrary Command Injection in portprocesses","details":"### Impact\n\nAn Arbitrary Command Injection vulnerability was reported in `portprocesses` impacting versions <= 1.0.4.\n\n### Example (Proof of Concept)\n\nThe following example demonstrates the vulnerability and will run `touch success` therefore creating a file named `success`.\n\n```js\nconst portprocesses = require(\"portprocesses\");\n\nportprocesses.killProcess(\"$(touch success)\");\n```","published":"2021-03-31T15:15:15.543Z","modified":"2026-07-09T12:32:54.472588Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"portprocesses","fixedVersion":"1.0.5"}],"fix":{"url":"https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1","label":"rrainn/PortProcesses@8681121"},"references":[{"type":"WEB","url":"https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23"},{"type":"FIX","url":"https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1"},{"type":"EVIDENCE","url":"https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23348"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T12:32:54.472588Z"}}