Arbitrary Command Injection Affecting command-exists package, versions <1.2.4


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Mature

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 IDnpm:command-exists:20180512
  • published13 May 2018
  • disclosed12 May 2018
  • creditChALkeR

Introduced: 12 May 2018

CVE NOT AVAILABLE CWE-264  (opens in a new tab)

How to fix?

Upgrade command-exists to version 1.2.4 or higher.

Overview

command-exists is a node module to check if a command-line command exists.

Affected versions of this package are vulnerable to Arbitrary Command Injection. An attacker may inject and execute arbitrary shell commands while trying to determine if a crafted command exists.

References

CVSS Scores

version 3.1