{"id":"CVE-2021-23379","aliases":["EUVD-2021-1176","GHSA-r6fw-8m27-43c9"],"status":"published","title":"Arbitrary Command Injection","description":"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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01336,"percentile":0.7162,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77","CWE-78"],"published":"2021-04-18T18:45:26Z","modified":"2026-06-17T03:38:39Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"portkiller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"portkiller","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}]}],"products":[{"vendor":"portkiller_project","product":"portkiller"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-PORTKILLER-1078537","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/indatawetrust/portkiller/blob/f1f1c5076d9c5d60e8dd3930e98d665d8191aa7a/index.js%23L10","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23379","tags":["advisory"]},{"url":"https://www.npmjs.com/package/portkiller","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r6fw-8m27-43c9"},{"url":"https://github.com/indatawetrust/portkiller","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23379","title":"Arbitrary Command Injection","description":"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.","status":"published","published":"2021-04-18T18:45:26.507Z","modified":"2024-09-16T18:02:46.082Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2021-1176","description":"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.","status":"published","published":"2021-04-18T18:45:26Z","modified":"2024-09-16T18:02:46Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","level":"high"}],"updated_at":"2026-11-03T00:55:36.293033Z"}],"ghsa":[{"id":"GHSA-r6fw-8m27-43c9","title":"Command injection in portkiller","description":"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.","status":"published","published":"2021-05-06T15:53:20Z","modified":"2023-01-27T05:00:53Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:15.574072Z"}],"nvd":[{"id":"CVE-2021-23379","description":"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.","status":"published","published":"2021-04-18T19:15:12.793Z","modified":"2026-06-17T03:38:39.293Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:52.03307Z"}],"osv":[{"id":"GHSA-r6fw-8m27-43c9","title":"Command injection in portkiller","description":"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.","status":"published","published":"2021-05-06T15:53:20Z","modified":"2023-11-08T04:05:06.166132Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:55.480549Z"}]}}
