{"id":"GHSA-vm67-7vmg-66vm","summary":"Arbitrary Command Injection in portprocesses","details":"### Impact\n\nAn Arbitrary Command Injection vulnerability was reported in `portprocesses` impacting versions \u003c= 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```","aliases":["CVE-2021-23348","SNYK-JS-PORTPROCESSES-1078536"],"modified":"2026-09-10T03:49:04.006677663Z","published":"2021-04-06T17:24:50Z","database_specific":{"nvd_published_at":"2021-03-31T15:15:00Z","cwe_ids":["CWE-77","CWE-78"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-03-31T17:50:32Z"},"references":[{"type":"WEB","url":"https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23348"},{"type":"WEB","url":"https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1"},{"type":"WEB","url":"https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536"}],"affected":[{"package":{"name":"portprocesses","ecosystem":"npm","purl":"pkg:npm/portprocesses"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-vm67-7vmg-66vm/GHSA-vm67-7vmg-66vm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}