CVE-2021-23356 Arbitrary Command Injection
CriticalCVSS 9.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
This affects all versions of package kill-process-by-name. 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 in the index.js file.
Upgrade path
2 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kill-process-by-name project kill-process-by-name | All versions | No fix listed | No fix yet |
| npm kill-process-by-name(npm) | <= 1.0.5 | after 1.0.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm kill-process-by-name(npm) | <= 1.0.5 | No fix listed |
| kill-process-by-name project kill-process-by-name | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- snyk.io exploit third-party-advisory
- github.com