CVE-2021-30502
Simple Glasgow Haskell Compiler Project Simple Glasgow Haskell Compiler vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Simple Glasgow Haskell Compiler. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Simple Glasgow Haskell Compiler Project Simple Glasgow Haskell Compiler runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46 · Patch
- github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023 · Third Party Advisory
- github.com/dramforever/vscode-ghc-simple/releases · Third Party Advisory
- vuln.ryotak.me/advisories/38 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-30502
- cve.org/CVERecord?id=CVE-2021-30502
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.