{"id":"CVE-2021-30502","aliases":["CVE-2021-30502"],"related":[],"kind":"vulnerability","state":"published","title":"The unofficial vscode-ghc-simple (aka Simple Glasgow Haskell Compiler) extension before 0.2.3 for Visual Studio Code allows remote code exe…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La extensión no oficial vscode-ghc-simple (también se conoce como Simple Glasgow Haskell Compiler) versiones anteriores a 0.2.3 para Visual Studio Code, permite una ejecución de código remota por medio de una configuración de workspace diseñada con replCommand","source":"nvd"}],"published":"2021-04-25T02:55:10.000Z","modified":"2026-06-17T03:50:21.223Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.2.3"}],"vendor":"simple_glasgow_haskell_compiler_project","product":"simple_glasgow_haskell_compiler","cpe":"cpe:2.3:a:simple_glasgow_haskell_compiler_project:simple_glasgow_haskell_compiler:*:*:*:*:*:visual_studio_code:*:*","source":"nvd"}],"references":[{"url":"https://github.com/dramforever/vscode-ghc-simple/releases","tags":["release-notes","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vuln.ryotak.me/advisories/38","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023","tags":["release-notes","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-30502","url":"https://www.cve.org/CVERecord?id=CVE-2021-30502","licence":"CVE Terms of Use","modified":"2024-08-03T22:32:41.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-30502","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30502","licence":"Public domain","modified":"2026-06-17T03:50:21.223Z"}],"updatedAt":"2026-11-25T22:58:01.027Z","epss":{"score":0.02899,"percentile":0.87319,"date":"2026-12-01T12:00:22.000Z"}}