Skip to content
OpenAdvisories
Medium · 5.0 CVE-2021-34485 BIT-dotnet-2021-34485BIT-dotnet-sdk-2021-34485EUVD-2022-7165GHSA-vgwq-hfqc-58wv

.NET Core and Visual Studio Information Disclosure Vulnerability

Published Aug 12, 2021 · Updated Oct 7, 2026 · Assigned by microsoft

Vendor: Microsoft Product: .NET 5.0 Product: .NET Core 2.1 Product: .NET Core 3.1 Product: Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) Product: Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9) Product: Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) Product: Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) Product: Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) Product: PowerShell 7.0 Product: PowerShell 7.1 Package: Microsoft.NETCore.App Package: Microsoft.NETCore.App.Runtime.linux-arm Package: Microsoft.NETCore.App.Runtime.linux-arm64 Package: Microsoft.NETCore.App.Runtime.linux-musl-arm Package: Microsoft.NETCore.App.Runtime.linux-musl-arm64 Package: Microsoft.NETCore.App.Runtime.linux-musl-x64 Package: Microsoft.NETCore.App.Runtime.linux-x64 Package: Microsoft.NETCore.App.Runtime.Mono.linux-arm Package: Microsoft.NETCore.App.Runtime.Mono.linux-arm64 Package: Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 Package: Microsoft.NETCore.App.Runtime.Mono.linux-x64 Package: Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 Package: Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 Package: Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 Package: Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 Package: Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 Package: Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 Package: Microsoft.NETCore.App.Runtime.Mono.osx-x64 Package: Microsoft.NETCore.App.Runtime.osx-x64 Package: Microsoft.NETCore.App.Runtime.rhel.6-x64 Package: Microsoft.NETCore.App.Runtime.win-arm Package: Microsoft.NETCore.App.Runtime.win-arm64 Package: Microsoft.NETCore.App.Runtime.win-x64 Package: Microsoft.NETCore.App.Runtime.win-x86 Ecosystem: NuGet

Description

.NET Core and Visual Studio Information Disclosure Vulnerability

Affected products

VendorProductAffectedFixed
Microsoft .NET 5.0 5.0.0 – < 5.0.9 5.0.9
Microsoft .NET Core 2.1 2.1 – < 2.1.30 2.1.30
Microsoft .NET Core 3.1 3.1 – < 3.1.18 3.1.18
Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.0 – < 15.9.38 15.9.38
Microsoft Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9) 16.10.0 – < 16.10.5 16.10.5
Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) 16.0 – < 16.4.25 16.4.25
Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) 16.0.0 – < 16.7.18 16.7.18
Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) 15.0.0 – < 16.9.10 16.9.10
Microsoft PowerShell 7.0 7.0.0 – < 7.0.7 7.0.7
Microsoft PowerShell 7.1 7.1.0 – < 7.1.4 7.1.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 8 dotnet +2 2.1.525-1.el8_4 RHSA-2021:3148, RHSA-2021:3145
RHEL 8 dotnet-host +6 5.0.9-1.el8_4 RHSA-2021:3148
RHEL 8 dotnet-hostfxr-3.1 +5 3.1.18-1.el8_4 RHSA-2021:3142
RHEL 8 dotnet-runtime-2.1 +1 2.1.29-1.el8_4 RHSA-2021:3145
RHEL 8 dotnet3.1 +2 3.1.118-1.el8_4 RHSA-2021:3142
RHEL 8 dotnet5.0 +3 5.0.206-1.el8_4 RHSA-2021:3148
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Dotnet 5 rh-dotnet50-dotnet +3 5.0.206-1.el7_9 RHSA-2021:3147
Red Hat Rhel Dotnet 5 rh-dotnet50-dotnet-host +6 5.0.9-1.el7_9 RHSA-2021:3147
Red Hat Rhel Dotnet 3 rh-dotnet31-dotnet +3 3.1.118-1.el7_9 RHSA-2021:3143
Red Hat Rhel Dotnet 3 rh-dotnet31-dotnet-host +6 3.1.18-1.el7_9 RHSA-2021:3143
Red Hat Rhel Dotnet 2 rh-dotnet21 +1 2.1-28.el7_9 RHSA-2021:3144
Red Hat Rhel Dotnet 2 rh-dotnet21-dotnet +2 2.1.525-1.el7_9 RHSA-2021:3144
Red Hat Rhel Dotnet 2 rh-dotnet21-dotnet-host +1 2.1.29-1.el7_9 RHSA-2021:3144

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 dotnet +3 5.0.206-1.0.1.el8_4 ELSA-2021-3148
Oracle Linux 8 dotnet-host +6 5.0.9-1.0.1.el8_4 ELSA-2021-3148
Oracle Linux 8 dotnet-hostfxr-3.1 +5 3.1.18-1.0.1.el8_4 ELSA-2021-3142
Oracle Linux 8 dotnet-runtime-2.1 +1 2.1.29-1.el8_4 ELSA-2021-3145
Oracle Linux 8 dotnet-sdk-2.1 +1 2.1.525-1.el8_4 ELSA-2021-3145
Oracle Linux 8 dotnet-sdk-3.1 +1 3.1.118-1.0.1.el8_4 ELSA-2021-3142

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Microsoft.NETCore.App >= 2.1.0, < 2.1.29 2.1.29 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-arm >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-arm64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.linux-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-arm >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-arm64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.Mono.osx-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.osx-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.rhel.6-x64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-arm >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-arm >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-arm64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-arm64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-x64 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.18 3.1.18 GHSA-vgwq-hfqc-58wv
NuGet Microsoft.NETCore.App.Runtime.win-x86 >= 5.0.0, < 5.0.9 5.0.9 GHSA-vgwq-hfqc-58wv

Advisories 10

References