CVE-2021-23356
Code injection in kill-process-by-name
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | kill-process-by-name | no fix listed |