CVE-2021-30502 Code injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary code via a crafted workspace configuration in the vscode-ghc-simple extension.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-30502?

CVE-2021-30502 is a critical code injection vulnerability in n/a, published on 25 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2021-30502?

It affects 1 product.

Products include Simple Glasgow Haskell Compiler Project Simple Glasgow Haskell Compiler.

How do I fix CVE-2021-30502?

No fix has been published for CVE-2021-30502 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-30502 being exploited?

There is no known exploitation of CVE-2021-30502 in the wild and no public exploit code.

Sources

Also known as GHSA-mgm6-c25g-557g.

Is CVE-2021-30502 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free