Vulnerability database / CVE-2021-30502
CVE-2021-30502
CRITICAL 9.8 CVSS 3.1 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.
Published 25 Apr 2021
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
simple_glasgow_haskell_compiler_project
simple_glasgow_haskell_compilercpe:2.3:a:simple_glasgow_haskell_compiler_project:simple_glasgow_haskell_compiler:*:*:*:*:*:visual_studio_code:*:*
< 0.2.3
0.2.3
References
History
25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Apr 2021)