Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @zowe/imperative
  4. ›
  5. CVE-2021-4326

CVE-2021-4326: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

March 1, 2023

A vulnerability in Imperative framework which allows already-privileged local actors to execute arbitrary shell commands via plugin install/update commands, or maliciously formed environment variables. Impacts Zowe CLI.

References

  • github.com/advisories/GHSA-6q8m-42qq-64r7
  • github.com/zowe/imperative/commit/1f3d99a729f1f541f002ce83d522d5b8174ba78d
  • nvd.nist.gov/vuln/detail/CVE-2021-4326

Code Behaviors & Features

Detect and mitigate CVE-2021-4326 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.9.0

Fixed versions

  • 5.9.0

Solution

Upgrade to version 5.9.0 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/@zowe/imperative/CVE-2021-4326.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.