NetSight
critical9.8

CVE-2021-23356

Code injection in kill-process-by-name

Impact

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

EcosystemPackageAffectedFixed in
npmkill-process-by-name<= 1.0.5none recorded

Affected products

VendorProductAffected versions
Kill-Process-By-Name ProjectKill-Process-By-Name
All versions

Weakness classification

References