CVE-2020-0606: Microsoft.WindowsDesktop.App.Ref Remote Code Execution Vulnerability
HIGHCVE-2020-0606 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-20: Improper Input Validation) affecting Microsoft.WindowsDesktop.App.Ref libraries in the NuGet ecosystem. The issue involves remote code execution in microsoft.windowsdesktop.app.ref. Remediation is available by upgrading affected packages to version 3.0.2, 3.1.1, 3.1.11.
CVE-2020-0606 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-0606
To remediate this vulnerability, upgrade all affected Microsoft.WindowsDesktop.App.Ref dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Microsoft.WindowsDesktop.App.Ref to 3.0.2
Upgrade Microsoft.WindowsDesktop.App.Ref to 3.1.1
Upgrade Microsoft.WindowsDesktop.App.Runtime.win-x86 to 3.0.2
Upgrade Microsoft.WindowsDesktop.App.Runtime.win-x86 to 3.1.11
Upgrade Microsoft.WindowsDesktop.App.Runtime.win-x64 to 3.0.2
Upgrade Microsoft.WindowsDesktop.App.Runtime.win-x64 to 3.1.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Microsoft.WindowsDesktop.App.Ref
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-0606, inspect your project dependencies for Microsoft.WindowsDesktop.App.Ref:
inspect dependencies for Microsoft.WindowsDesktop.App.Ref
Analyze the terminal output to locate any version of Microsoft.WindowsDesktop.App.Ref in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Microsoft.WindowsDesktop.App.Ref, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-0606 Affected Microsoft.WindowsDesktop.App.Ref Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.WindowsDesktop.App.Ref
|
NuGet |
≥ 3.0.1
< 3.0.2
All 1 versions
3.0.1
|
3.0.2
|
|
Microsoft.WindowsDesktop.App.Ref
|
NuGet |
≥ 3.1.0
< 3.1.1
All 1 versions
3.1.0
|
3.1.1
|
|
Microsoft.WindowsDesktop.App.Runtime.win-x86
|
NuGet |
≥ 3.0.0
< 3.0.2
|
3.0.2
|
|
Microsoft.WindowsDesktop.App.Runtime.win-x86
|
NuGet |
≥ 3.1.0
< 3.1.11
|
3.1.11
|
|
Microsoft.WindowsDesktop.App.Runtime.win-x64
|
NuGet |
≥ 3.0.0
< 3.0.2
|
3.0.2
|
|
Microsoft.WindowsDesktop.App.Runtime.win-x64
|
NuGet |
≥ 3.1.0
< 3.1.11
|
3.1.11
|
References
Frequently Asked Questions
What is CVE-2020-0606?
Which Microsoft.WindowsDesktop.App.Ref versions are affected?
What version fixes CVE-2020-0606?
Is Microsoft.WindowsDesktop.App.Ref affected?
Is Microsoft.WindowsDesktop.App.Runtime.win-x86 affected?
What is the CVSS score of CVE-2020-0606?
What CWE is associated with CVE-2020-0606?
How can I check NuGet dependencies for CVE-2020-0606?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r4mw-gxf7-vxr9",
"modified" : "2022-07-28T22:08:12Z",
"published" : "2022-05-24T17:06:16Z",
"aliases" : [ "CVE-2020-0606" ],
"summary" : "Remote code execution in Microsoft.WindowsDesktop.App.Ref",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.WindowsDesktop.App.Ref"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.1"
}, {
"fixed" : "3.0.2"
} ]
} ],
"versions" : [ "3.0.1" ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.WindowsDesktop.App.Ref"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.1"
} ]
} ],
"versions" : [ "3.1.0" ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.WindowsDesktop.App.Runtime.win-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.WindowsDesktop.App.Runtime.win-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.WindowsDesktop.App.Runtime.win-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.WindowsDesktop.App.Runtime.win-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.11"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-0606"
}, {
"type" : "WEB",
"url" : "https://github.com/dotnet/announcements/issues/149"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/issues/302"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-0606"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-28T22:08:12Z",
"nvd_published_at" : "2020-01-14T23:15:00Z"
}
}