Advisory

GHSA-vgwq-hfqc-58wv

Also known as: BIT-dotnet-2021-34485, BIT-dotnet-sdk-2021-34485, CVE-2021-34485

Summary

.NET Core Information Disclosure Vulnerability

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-10-20 21:34 UTC
Modified
2024-12-06 05:38 UTC

Affected packages and fixes

34 affected packages; all NuGet · All systems
PackageAffectedFix
Microsoft.NETCore.Appintroduced 2.1.0, fixed 2.1.29The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-armintroduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-arm64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-musl-arm64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-musl-x64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-x64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.osx-x64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.rhel.6-x64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-armintroduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-arm64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-x64introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-x86introduced 3.1.0, fixed 3.1.18The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-armintroduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-arm64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-musl-armintroduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-musl-arm64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-musl-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.linux-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.linux-armintroduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.linux-arm64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.linux-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.Mono.osx-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.osx-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-armintroduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-arm64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-x64introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.
Microsoft.NETCore.App.Runtime.win-x86introduced 5.0.0, fixed 5.0.9The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences