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. Learn more

Threat Intelligence

EPSS
0.04% (15th 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 Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ZOWEIMPERATIVE-3337037
  • published2 Mar 2023
  • disclosed1 Mar 2023
  • creditUnknown

Introduced: 1 Mar 2023

CVE-2021-4326  (opens in a new tab)
CWE-78  (opens in a new tab)

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