What’s Vulnerable › Vulnerabilities
CVE-2021-30502
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-04-25 · updated 2026-06-17
Description
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.
Affected products
- Simple Glasgow Haskell Compiler Project Simple Glasgow Haskell Compiler: before 0.2.3 — fixed in 0.2.3
How to fix
Upgrade to a fixed version: Simple Glasgow Haskell Compiler Project Simple Glasgow Haskell Compiler 0.2.3. Check the vendor advisory for mitigations.
References
- https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023
- https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46
- https://github.com/dramforever/vscode-ghc-simple/releases
- https://vuln.ryotak.me/advisories/38
- https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023
- https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46
- https://github.com/dramforever/vscode-ghc-simple/releases
- https://vuln.ryotak.me/advisories/38
Get alerted when CVE-2021-30502 or the next vulnerability affects your stack