Loading...
Skip to main content

CVE-2021-34485

MEDIUM

.NET Core Information Disclosure Vulnerability

Published October 20, 2022Updated December 6, 2024Source: osv

Summary

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

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.NETCore.App.Runtime.linux-arm64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-arm64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.linux-arm64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-arm64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.linux-arm to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-arm --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-musl-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-arm to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-arm --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.osx-x64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.osx-x64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.win-arm to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-arm --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-musl-x64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-x64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.linux-musl-arm to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-arm --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.win-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.win-x64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.linux-musl-arm64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-arm64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.win-arm64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.win-x86 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-x64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-x64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.linux-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.linux-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-musl-arm64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-arm64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.win-arm64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.linux-arm to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-arm --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.rhel.6-x64 to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.rhel.6-x64 --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.win-x86 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.osx-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.osx-x64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.linux-arm64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.linux-arm64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App.Runtime.win-arm to 3.1.18 or later
dotnet add package Microsoft.NETCore.App.Runtime.win-arm --version 3.1.18
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 --version 5.0.9
NuGet
Update Microsoft.NETCore.App to 2.1.29 or later
dotnet add package Microsoft.NETCore.App --version 2.1.29
NuGet
Update Microsoft.NETCore.App.Runtime.Mono.osx-x64 to 5.0.9 or later
dotnet add package Microsoft.NETCore.App.Runtime.Mono.osx-x64 --version 5.0.9

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (34)

PackageEcosystemAffectedFixed In
Microsoft.NETCore.App.Runtime.linux-arm64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.Mono.linux-arm64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.Mono.linux-arm
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-musl-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-arm
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.osx-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.win-arm
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-musl-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.linux-musl-arm
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.win-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.win-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.linux-musl-arm64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.win-arm64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.win-x86
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.Mono.linux-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-musl-arm64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.win-arm64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.linux-arm
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.rhel.6-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.win-x86
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.osx-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.linux-arm64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App.Runtime.win-arm
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+14 more)3.1.18
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9
Microsoft.NETCore.App
nuget
2.1.0, 2.1.1, 2.1.10, 2.1.11 (+25 more)2.1.29
Microsoft.NETCore.App.Runtime.Mono.osx-x64
nuget
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+5 more)5.0.9

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2021-34485?
.NET Core Information Disclosure Vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.5/10).
How do I check if my project is affected by CVE-2021-34485?
CVE-2021-34485 affects Microsoft.NETCore.App.Runtime.linux-arm64, Microsoft.NETCore.App.Runtime.Mono.linux-arm64 and Microsoft.NETCore.App.Runtime.Mono.linux-arm (and 21 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-34485 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-vgwq-hfqc-58wv
BIT-dotnet-2021-34485
BIT-dotnet-sdk-2021-34485

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies