Vulnerability Details : CVE-2021-30502
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.
Vulnerability category: Execute code
Products affected by CVE-2021-30502
- Simple Glasgow Haskell Compiler Project » Simple Glasgow Haskell Compiler » For Visual Studio CodeVersions before (<) 0.2.3cpe:2.3:a:simple_glasgow_haskell_compiler_project:simple_glasgow_haskell_compiler:*:*:*:*:*:visual_studio_code:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-30502
3.96%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 87 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-30502
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
References for CVE-2021-30502
-
https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023
vscode-ghc-simple/CHANGELOG.md at master · dramforever/vscode-ghc-simple · GitHubRelease Notes;Third Party Advisory
-
https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46
[bios] Add replCommand trust mechanism · dramforever/vscode-ghc-simple@bc7f6f0 · GitHubPatch;Third Party Advisory
-
https://github.com/dramforever/vscode-ghc-simple/releases
Releases · dramforever/vscode-ghc-simple · GitHubRelease Notes;Third Party Advisory
-
https://vuln.ryotak.me/advisories/38
Advisory #38 - RyotaK's Vuln DBThird Party Advisory
Jump to