RCE in Kill-Process-By-Name Project

CVE-2021-23356

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.011 (63.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-23356?
CVE-2021-23356 is a medium-severity vulnerability in Kill-Process-By-Name Project, classified under OS Command Injection. CVSS score: 5.6/10. Published 2021-03-15.
How severe is CVE-2021-23356?
Medium severity. CVSS v3 base score is 5.6 out of 10.