Arbitrary Command Injection Affecting ps package, versions <1.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PS-72307
  • published9 Sept 2018
  • disclosed7 Sept 2018
  • creditCristian-Alexandru Staicu

Introduced: 7 Sep 2018

CVE-2018-16460  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade ps to version 1.0.0 or higher.

Overview

ps is A Node.js module for looking up running processes.

Affected versions of this package are vulnerable to Arbitrary Command Injection. An attacker could inject arbitrary OS commands instead of PID numbers.

CVSS Base Scores

version 3.1