CVE-2021-28794 Command injection in n/a
An attacker can execute arbitrary commands via the shellcheck.executablePath setting in the ShellCheck VS Code 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-28794?
CVE-2021-28794 is a critical command injection vulnerability in n/a, published on 18 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The unofficial ShellCheck extension before 0.13.4 for Visual Studio Code mishandles shellcheck.executablePath.
Which versions are affected by CVE-2021-28794?
It affects 1 product.
Products include Shellcheck Project Shellcheck.
How do I fix CVE-2021-28794?
No fix has been published for CVE-2021-28794 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-28794 being exploited?
There is no known exploitation of CVE-2021-28794 in the wild and no public exploit code.
Sources
Also known as GHSA-8w84-ww36-m2xq.