High, CVSS 7.5npmAmendedPublished
Command Injection in killport
CVE-2021-23360 · GHSA-fc42-h7q4-qp8h
- Affected
- npm killport < 1.0.2
- Fixed in
- 1.0.2· Vendor fix available
- Issue
- This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the childprocess exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.
Recommended action: Upgrade to 1.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.