CVE-2021-23359 Arbitrary Command Injection
HighCVSS 8.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| port-killer project port-killer | All versions | No fix listed | No fix yet |
| npm port-killer(npm) | <= 1.0.1 | after 1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm port-killer(npm) | <= 1.0.1 | No fix listed |
| port-killer project port-killer | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com broken-link
- snyk.io exploit third-party-advisory
- github.com