{"id":"CVE-2021-23379","aliases":["CVE-2021-23379","GHSA-r6fw-8m27-43c9"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Command Injection","summary":"This affects all versions of package portkiller. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package portkiller. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.","source":"cvelist"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete portkiller.&#xa0;Si es proporcionada una entrada del usuario (controlada por un atacante), es posible para un atacante ejecutar comandos arbitrarios.&#xa0;Esto es debido al uso de la función exec child_process sin un saneamiento de la entrada","source":"nvd"}],"published":"2021-04-18T18:45:26.507Z","modified":"2026-06-17T03:38:39.293Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"portkiller","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.3"}],"ecosystem":"npm","package":"portkiller","purl":"pkg:npm/portkiller","source":"ghsa"},{"ranges":[],"vendor":"portkiller_project","product":"portkiller","cpe":"cpe:2.3:a:portkiller_project:portkiller:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078537","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/indatawetrust/portkiller/blob/f1f1c5076d9c5d60e8dd3930e98d665d8191aa7a/index.js%23L10","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23379","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/indatawetrust/portkiller","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/portkiller","tags":["web"],"sources":["ghsa"]}],"credits":["OmniTaint"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23379","url":"https://www.cve.org/CVERecord?id=CVE-2021-23379","licence":"CVE Terms of Use","modified":"2024-09-16T18:02:46.082Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r6fw-8m27-43c9","url":"https://github.com/advisories/GHSA-r6fw-8m27-43c9","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:06.166Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23379","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23379","licence":"Public domain","modified":"2026-06-17T03:38:39.293Z"}],"updatedAt":"2026-11-25T22:58:00.851Z","epss":{"score":0.01336,"percentile":0.7204,"date":"2026-12-01T12:00:22.000Z"}}