.NET Core Information Disclosure VulnerabilityGHSA-vgwq-hfqc-58wv
MEDIUMGHSA-vgwq-hfqc-58wv is a medium-severity (CVSS 5.5) Information Exposure vulnerability in Microsoft.NETCore.App. A fix is available for Microsoft.NETCore.App — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-vgwq-hfqc-58wv.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
Microsoft.NETCore.App.NETMicrosoft.NETCore.App.Runtime.linux-arm.NETMicrosoft.NETCore.App.Runtime.linux-arm64.NETMicrosoft.NETCore.App.Runtime.linux-musl-arm64.NETMicrosoft.NETCore.App.Runtime.linux-musl-x64.NETMicrosoft.NETCore.App.Runtime.linux-x64.NETMicrosoft.NETCore.App.Runtime.osx-x64.NETMicrosoft.NETCore.App.Runtime.rhel.6-x64+26 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.
Description
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 5.0, .NET Core 3.1 and .NET Core 2.1. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
An information disclosure vulnerability exists in .NET 5.0, .NET Core 3.1 and .NET Core 2.1 when dumps created by the tool to collect crash dumps and dumps on demand are created with global read permissions on Linux and macOS.
Patches
-
If you're using .NET 5.0, you should download and install Runtime 5.0.9 or SDK 5.0.206 (for Visual Studio 2019 v16.8) or SDK 5.0.303 (for Visual Studio 2019 V16.10) from https://dotnet.microsoft.com/download/dotnet-core/5.0.
-
If you're using .NET Core 3.1, you should download and install Runtime 3.1.18 or SDK 3.1.118 (for Visual Studio 2019 v16.4) or 3.1.412 (for Visual Studio 2019 v16.7 or later) from https://dotnet.microsoft.com/download/dotnet-core/3.1.
-
If you're using .NET Core 2.1, you should download and install Runtime 2.1.29 or SDK 2.1.525 (for Visual Studio 2019 v15.9) or 2.1.817 from https://dotnet.microsoft.com/download/dotnet-core/2.1.
Other Details
- Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/196
- An Issue for this can be found at https://github.com/dotnet/runtime/issues/57174
- MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-34485
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Microsoft.NETCore.App | ≥ 2.1.0&&< 2.1.29 | 2.1.29dotnet add package Microsoft.NETCore.App --version 2.1.29 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-arm | ≥ 3.1.0&&< 3.1.18 | 3.1.18dotnet add package Microsoft.NETCore.App.Runtime.linux-arm --version 3.1.18 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-arm64 | ≥ 3.1.0&&< 3.1.18 | 3.1.18dotnet add package Microsoft.NETCore.App.Runtime.linux-arm64 --version 3.1.18 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-musl-arm64 | ≥ 3.1.0&&< 3.1.18 | 3.1.18dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-arm64 --version 3.1.18 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-musl-x64 | ≥ 3.1.0&&< 3.1.18 | 3.1.18dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-x64 --version 3.1.18 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-x64 | ≥ 3.1.0&&< 3.1.18 | 3.1.18dotnet add package Microsoft.NETCore.App.Runtime.linux-x64 --version 3.1.18 |
Affected Products
.netmicrosoft.net coremicrosoftpowershell coremicrosoftvisual studio 2017microsoftvisual studio 2019microsoftDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.NETCore.App, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Microsoft.NETCore.App to 2.1.29 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vgwq-hfqc-58wv is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| .NET Core on Red Hat Enterprise Linux | rh-dotnet21-0:2.1-28.el7_9 | RHSA-2021:3144 |
| .NET Core on Red Hat Enterprise Linux | rh-dotnet31-dotnet-0:3.1.118-1.el7_9 | RHSA-2021:3143 |
| .NET Core on Red Hat Enterprise Linux | rh-dotnet50-dotnet-0:5.0.206-1.el7_9 | RHSA-2021:3147 |
| Red Hat Enterprise Linux 8 | dotnet3.1-0:3.1.118-1.el8_4 | RHSA-2021:3142 |
| Red Hat Enterprise Linux 8 | dotnet-0:2.1.525-1.el8_4 | RHSA-2021:3145 |
| Red Hat Enterprise Linux 8 | dotnet5.0-0:5.0.206-1.el8_4 | RHSA-2021:3148 |
Frequently Asked Questions
Is GHSA-vgwq-hfqc-58wv in your dependencies?
Find it across NuGet, including transitive dependencies.