High, CVSS 8.1npmAmendedPublished
Command Injection in kill-port
CVE-2019-5414 · GHSA-pmv6-gf98-p3r5
- Affected
- npm kill-port < 1.3.2
- Fixed in
- 1.3.2· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.3.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.