GitHub Advisory Database
GHSA-pmv6-gf98-p3r5
Command Injection in kill-port
Details
Versions of kill-port prior to 1.3.2 are vulnerable to Command Injection. The package does not validate user input on the kill function. This may allow attackers to run arbitrary commands in the system if user input (such as the port number) is passed directly to the function.
Recommendation
Upgrade to version 1.3.2 or later.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | kill-port | All versions before 1.3.2 (fixed in 1.3.2) |