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

    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

Introduced: 12 May 2018

CVE NOT AVAILABLE CWE-264 Open this link 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
Expand this section

Snyk

Recommended
10 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    High