CVE-2020-0606 Remote code execution in Microsoft.WindowsDesktop.App.Ref

High 8.8 Published Updated

An attacker can execute arbitrary code by exploiting a failure in .NET software to check file source markup.

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
Available

What is CVE-2020-0606?

CVE-2020-0606 is a high-severity code injection vulnerability in Microsoft .Net Framework, published on 14 Jan 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 .NET software when the software fails to check the source markup of a file.An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user, aka '.NET Framework Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2020-0605.

Weakness: CWE-20

Which versions are affected by CVE-2020-0606?

12 open source packages ship an affected version, including Microsoft.WindowsDesktop.App.Ref, Microsoft.WindowsDesktop.App.Runtime.win-x64 and Microsoft.WindowsDesktop.App.Runtime.win-x86. It affects 2 products.

PackageAffectedFixed in
Microsoft.WindowsDesktop.App.Ref NuGetFrom 3.0.13.0.2
Microsoft.WindowsDesktop.App.Ref NuGetFrom 3.0.13.0.2
Microsoft.WindowsDesktop.App.Ref NuGetFrom 3.1.03.1.1
Microsoft.WindowsDesktop.App.Ref NuGetFrom 3.1.03.1.1
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 3.0.03.0.2
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 3.0.03.0.2
6 more packages
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 3.1.03.1.11
Microsoft.WindowsDesktop.App.Runtime.win-x64 NuGetFrom 3.1.03.1.11
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 3.0.03.0.2
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 3.0.03.0.2
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 3.1.03.1.11
Microsoft.WindowsDesktop.App.Runtime.win-x86 NuGetFrom 3.1.03.1.11

Products include Microsoft .Net Core, Microsoft .Net Framework.

How do I fix CVE-2020-0606?

Upgrade Microsoft.WindowsDesktop.App.Ref to a fixed version for your release line: 3.0.2 or 3.1.1.

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

Is CVE-2020-0606 being exploited?

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

All Microsoft .Net Framework vulnerabilities

Sources

Also known as GHSA-r4mw-gxf7-vxr9.

Is CVE-2020-0606 in your software?

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

Check your SBOMs for free