CVE-2021-23359Published Mar 18, 2021 · Mar 18Updated Jun 17
Arbitrary Command Injection
port-killer
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| port-killer |
| No fix yet |
Original description
This affects all versions of package port-killer. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process 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.
From the CVE record · snyk