CVE-2021-30502
CRITICALCVSS 9.8/10EPSS 2.90%
Last modified
CVE-2021-30502 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.90% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Simple Glasgow Haskell Compiler Project | Simple Glasgow Haskell Compiler | < 0.2.3 |
References
- https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023Release Notes, Third Party Advisory
- https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46Patch, Third Party Advisory
- https://github.com/dramforever/vscode-ghc-simple/releasesRelease Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/38Third Party Advisory
- https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023Release Notes, Third Party Advisory
- https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46Patch, Third Party Advisory
- https://github.com/dramforever/vscode-ghc-simple/releasesRelease Notes, Third Party Advisory
- https://vuln.ryotak.me/advisories/38Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-30502?
CVE-2021-30502 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.90% probability of exploitation in the next 30 days.
How do I fix CVE-2021-30502?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-30502?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
