kill-port-process@0.0.3 vulnerabilities

Easily kill hanging processes on ports - on any platform!

Direct Vulnerabilities

Known vulnerabilities in the kill-port-process package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Command Injection

Affected versions of this package are vulnerable to Command Injection. An attacker able to control the port number can insert a shell command instead of a port number, due to weak sanitisation. The command will run under the root user, since the root user is the only user able to execute the kill command.

How to fix Command Injection?

Upgrade kill-port-process to version 2.2.0 or higher.

<2.2.0