CVE-2021-23363
MEDIUMkill-by-port < 0.0.2 - OS Command Injection via Unsanitized Input to killByPort Function
Title source: llmDescription
This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort 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.
References (3)
Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531
Broken Link x_refsource_misc
https://github.com/GuyMograbi/kill-by-port/blob/16dcbe264b6b4a5ecf409661b42836dd286fd43f/index.js%23L8
Patch, Third Party Advisory x_refsource_misc
https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4
Scores
CVSS v3
6.3
EPSS
0.0176
EPSS Percentile
75.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Details
CWE
CWE-78
Status
published
Products (2)
kill-by-port_project/kill-by-port
< 0.0.2
npm/kill-by-port
0 - 0.0.2npm
Published
Mar 30, 2021
Tracked Since
Feb 18, 2026