portprocesses@1.0.3 vulnerabilities

This tool letes you list and kill processes on a specified port.

Direct Vulnerabilities

Known vulnerabilities in the portprocesses 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

portprocesses is a This tool letes you list and kill processes on a specified port.

Affected versions of this package are vulnerable to Arbitrary Command Injection. If (attacker-controlled) user input is given to the killProcess function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.

How to fix Arbitrary Command Injection?

Upgrade portprocesses to version 1.0.5 or higher.

<1.0.5