Medium, CVSS 6.3npmAmendedPublished
Arbitrary code execution in kill-by-port
CVE-2021-23363 · GHSA-mm4f-47ch-f7hx
- Affected
- npm kill-by-port < 0.0.2
- Fixed in
- 0.0.2· Vendor fix available
- Issue
- 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 childprocess exec function without input sanitization.
Recommended action: Upgrade to 0.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.