Description
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
https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4
https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531
https://github.com/GuyMograbi/kill-by-port/commit/ea5b1f377e196a4492e05ff070eba8b30b7372c4
https://snyk.io/vuln/SNYK-JS-KILLBYPORT-1078531
CVSS impact metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
6.3 · Medium
Information
Source identifier
Vulnerability status
Modified
Published
2021-03-30T13:15:15.480Z
5 years agoLast modified
2024-11-21T04:51:34.763Z
1 year ago