kill-process-by-name@1.0.2 vulnerabilities

Kills all processes by a certain program

Direct Vulnerabilities

Known vulnerabilities in the kill-process-by-name package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Arbitrary Command Injection

kill-process-by-name is a Kills all processes by a certain program

Affected versions of this package are vulnerable to Arbitrary Command Injection. 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.

How to fix Arbitrary Command Injection?

There is no fixed version for kill-process-by-name.

*