{"id":"CVE-2021-23348","published":"2021-03-31T14:25:17Z","modified":"2024-09-16T20:52:54Z","title":"Arbitrary Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package portprocesses before 1.0.5. If (attacker-controlled) user input is given to the killProcess function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0182,"percentile":0.79275,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536","tags":["x_refsource_MISC"]},{"url":"https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23","tags":["x_refsource_MISC"]},{"url":"https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm","tags":["x_refsource_MISC"]},{"url":"https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":15.85},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"portprocesses","versions":[">= unspecified, < 1.0.5"]}],"affected":[{"ecosystem":"npm","package":"portprocesses","vulnerableRanges":["<1.0.5"],"patched":["1.0.5"],"from":["GHSA-vm67-7vmg-66vm"],"provenance":"source"}],"summary":{"text":"The portprocesses npm package, versions before 1.0.5, contains a command injection flaw in its killProcess function, which passes input to the child_process exec function without sanitization. An attacker who can supply input to killProcess and holds low-privilege authentication on the network can execute arbitrary commands, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:37Z"},"euvd":{"id":"EUVD-2021-0881","exploited":false,"provenance":"source"}}