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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-30497Ivanti Avalanche (Premise) 6.3.2 allows remote unauthenticat…7.5
- CVE-2021-30498A flaw was found in libcaca. A heap buffer overflow in expor…7.8
- CVE-2021-30499A flaw was found in libcaca. A buffer overflow of export.c i…7.8
- CVE-2021-3050An OS command injection vulnerability in the Palo Alto Netwo…8.8
- CVE-2021-30500Null pointer dereference was found in upx PackLinuxElf::canU…7.8
- CVE-2021-30501An assertion abort was found in upx MemBuffer::alloc() in me…5.5
- CVE-2021-30503The unofficial GLSL Linting extension before 1.4.0 for Visua…9.8
- CVE-2021-30504In JetBrains IntelliJ IDEA before 2021.1, DoS was possible b…7.5
- CVE-2021-30506Incorrect security UI in Web App Installs in Google Chrome o…8.8
- CVE-2021-30507Inappropriate implementation in Offline in Google Chrome on …8.8
- CVE-2021-30508Heap buffer overflow in Media Feeds in Google Chrome prior t…8.8
- CVE-2021-30509Out of bounds write in Tab Strip in Google Chrome prior to 9…8.8
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
