Command Injection Affecting @zowe/imperative package, versions <4.18.14 >=5.0.0 <5.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (9th 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 ID SNYK-JS-ZOWEIMPERATIVE-3337037
  • published 2 Mar 2023
  • disclosed 1 Mar 2023
  • credit Unknown

How to fix?

Upgrade @zowe/imperative to version 4.18.14, 5.9.0 or higher.

Overview

@zowe/imperative is a framework for building configurable CLIs

Affected versions of this package are vulnerable to Command Injection due to improper input validation, which allows already-privileged local actors to execute arbitrary shell commands via plugin install/update commands or maliciously formed environment variables.

CVSS Scores

version 3.1
Expand this section

Snyk

7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.8 high