CVE-2021-30502
9.8critical
The unofficial vscode-ghc-simple (aka Simple Glasgow Haskell Compiler) extension before 0.2.3 for Visual Studio Code allows remote code exe…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.90% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| simple_glasgow_haskell_compiler_project simple_glasgow_haskell_compiler | before 0.2.3 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
What each source says
CVE List
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.
NVD (es)
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
References
| https://github.com/dramforever/vscode-ghc-simple/releases | release-notes, third-party-advisory | |
| https://vuln.ryotak.me/advisories/38 | third-party-advisory | |
| https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023 | release-notes, third-party-advisory | |
| https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30502 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-30502 changed 2026-06-17 | Public domain |