CVE-2020-1481 Code injection in Microsoft Visual Studio Code ESLint extension

High 8.8 Published Updated

Attackers can execute arbitrary code by tricking users into opening a malicious project in Visual Studio Code with the ESLint extension enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-1481?

CVE-2020-1481 is a high-severity code injection vulnerability in Microsoft Visual Studio Code ESLint extension, published on 14 Jul 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A remote code execution vulnerability exists in the ESLint extension for Visual Studio Code when it validates source code after opening a project, aka 'Visual Studio Code ESLint Extention Remote Code Execution Vulnerability'.

Which versions are affected by CVE-2020-1481?

It affects 1 product.

Products include Microsoft Eslint.

How do I fix CVE-2020-1481?

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

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

Sources

Also known as GHSA-c85x-m577-qjhw.

Is CVE-2020-1481 in your software?

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

Check your SBOMs for free