GitHub Advisoryadvisory · npm
GHSA-qc65-cgvr-93p6 Code injection in kill-process-by-name
CRITICAL
Official page ↗
- Aliases
- CVE-2021-23356
- Ecosystem
- npm
- Packages
- kill-process-by-name
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-77
- Reviewed
- 2021-03-16
Affected packages
• npm kill-process-by-name: <= 1.0.5 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2021-23356 This affects all versions of package kill-process-by-name. vulnerability
Weakness · CWE (1)
- CWE-77 Improper Neutralization of Special Elements used in a Command weakness