CVE-2021-43907 Visual Studio Code WSL Extension Remote Code Execution Vulnerability

Critical 9.8 Published Updated

An attacker can execute arbitrary code via the Visual Studio Code WSL Extension, posing a risk to developers using this tool.

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-43907?

CVE-2021-43907 is a critical code injection vulnerability in Microsoft Visual Studio Code WSL Extension, published on 15 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Visual Studio Code WSL Extension Remote Code Execution Vulnerability

Which versions are affected by CVE-2021-43907?

It affects 1 product.

Products include Microsoft Windows Subsystem for Linux.

How do I fix CVE-2021-43907?

No fix has been published for CVE-2021-43907 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-43907 being exploited?

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

Sources

Also known as GHSA-pq7c-f7ch-qfh7.

Is CVE-2021-43907 in your software?

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

Check your SBOMs for free