{
  "schema_version": "1.4.0",
  "id": "GHSA-6q8m-42qq-64r7",
  "modified": "2023-03-02T17:16:46Z",
  "published": "2023-03-01T09:30:29Z",
  "aliases": [
    "CVE-2021-4326"
  ],
  "summary": "Imperative CLI vulnerable to Command Injection",
  "details": "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.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@zowe/imperative"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.0.0"
            },
            {
              "fixed": "5.7.1"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "npm",
        "name": "@zowe/imperative"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.18.10"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4326"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zowe/imperative/pull/900"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zowe/imperative/pull/902"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zowe/imperative"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zowe/imperative/commits/v4.18.10"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zowe/imperative/commits/v5.7.1"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-01T22:57:51Z",
    "nvd_published_at": "2023-03-01T08:15:00Z"
  }
}