CVE-2021-31213 Visual Studio Code Remote Containers Extension Remote Code Execution Vulnerability
Attackers can execute arbitrary code via the Visual Studio Code Remote Containers extension, posing a risk to developers using this tool.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-31213?
CVE-2021-31213 is a high-severity code injection vulnerability in Microsoft Visual Studio Code Remote - Containers Extension, published on 11 May 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Visual Studio Code Remote Containers Extension Remote Code Execution Vulnerability
Which versions are affected by CVE-2021-31213?
It affects 1 product.
Products include Microsoft Remote.
How do I fix CVE-2021-31213?
No fix has been published for CVE-2021-31213 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-31213 being exploited?
There is no known exploitation of CVE-2021-31213 in the wild and no public exploit code.
Sources
Also known as GHSA-pmrr-mqp2-p4g9.