Arbitrary Command Injection Affecting command-exists package, versions <1.2.4
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 ID npm:command-exists:20180512
- published 13 May 2018
- disclosed 12 May 2018
- credit ChALkeR
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