Skip to content

.NET Core Information Disclosure Vulnerability

Moderate severity GitHub Reviewed Published Aug 10, 2021 in dotnet/runtime • Updated Feb 3, 2023

Package

nuget Microsoft.NETCore.App (NuGet)

Affected versions

>= 2.1.0, < 2.1.29

Patched versions

2.1.29
nuget Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.linux-arm (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.linux-arm64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.linux-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.Mono.osx-x64 (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.linux-arm (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.linux-musl-arm (NuGet)
>= 5.0.0, < 5.0.9
5.0.9
nuget Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.linux-musl-x64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.linux-x64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.osx-x64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet)
>= 3.1.0, < 3.1.18
3.1.18
nuget Microsoft.NETCore.App.Runtime.win-arm (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.win-arm64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.win-x64 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9
nuget Microsoft.NETCore.App.Runtime.win-x86 (NuGet)
>= 3.1.0, < 3.1.18
>= 5.0.0, < 5.0.9
3.1.18
5.0.9

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

Other Details

References

@rbhanda rbhanda published to dotnet/runtime Aug 10, 2021
Published by the National Vulnerability Database Aug 12, 2021
Published to the GitHub Advisory Database Oct 20, 2022
Reviewed Oct 20, 2022
Last updated Feb 3, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS score

0.095%
(42nd percentile)

Weaknesses

No CWEs

CVE ID

CVE-2021-34485

GHSA ID

GHSA-vgwq-hfqc-58wv

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.