{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-23348","id":"CVE-2021-23348","title":"Arbitrary Command Injection","description":"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.","descriptionLong":"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.","published":"2021-03-31T14:25:17.671Z","updated":"2026-10-20T10:54:32.067255392Z","reserved":"2021-01-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["portprocesses"],"affectedProducts":[{"vendor":"n/a","product":"portprocesses","defaultStatus":null,"versions":[{"lessThan":"1.0.5","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"portprocesses","purl":"pkg:npm/portprocesses","ranges":["<1.0.5"],"fixed":["1.0.5"],"advisory":"GHSA-vm67-7vmg-66vm"}],"cwes":["CWE-78","CWE-77"],"aliases":["GHSA-vm67-7vmg-66vm","SNYK-JS-PORTPROCESSES-1078536"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23348","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0182,"epssPercentile":0.7921,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-23348","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23348","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-23348","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vm67-7vmg-66vm","ok":true,"note":"GHSA-vm67-7vmg-66vm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-23348","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}