{
  "schema_version": "1.4.0",
  "id": "GHSA-795w-7426-m94j",
  "modified": "2023-03-15T19:18:27Z",
  "published": "2023-03-10T18:30:22Z",
  "aliases": [
    "CVE-2021-33360"
  ],
  "summary": "stoqey/gnuplot is vulnerable to command injection",
  "details": "An issue found in Stoqey gnuplot v.0.0.3 and earlier allows attackers to execute arbitrary code via the src/index.ts, plotCallack, child_process, and/or filePath parameter(s).",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@stoqey/gnuplot"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.0.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-33360"
    },
    {
      "type": "WEB",
      "url": "https://advisory.checkmarx.net/advisory/CX-2021-4811"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/stoqey/gnuplot"
    },
    {
      "type": "WEB",
      "url": "https://github.com/stoqey/gnuplot/blob/cd76060a15f58348baeef1c5fd867ce856515949/src/index.ts#L211-L217"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-10T21:52:17Z",
    "nvd_published_at": "2023-03-10T16:15:00Z"
  }
}