{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.2.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b883e7ba59a3daf3db22c58d8a85dd0648a4dc74"
            },
            {
              "fixed": "bc7f6f0b857dade46ea51496d8bd1a4edef39b46"
            }
          ],
          "repo": "https://github.com/dramforever/vscode-ghc-simple",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The unofficial vscode-ghc-simple (aka Simple Glasgow Haskell Compiler) extension before 0.2.3 for Visual Studio Code allows remote code execution via a crafted workspace configuration with replCommand.",
  "id": "CVE-2021-30502",
  "modified": "2026-04-01T23:09:42.071515229Z",
  "published": "2021-04-25T03:15:07.203Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuln.ryotak.me/advisories/38"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/dramforever/vscode-ghc-simple/releases"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}