VDB
KO
MEDIUM 5.9

GHSA-vh55-786g-wjwj

.NET Information Disclosure Vulnerability

Details

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET Core 3.1 and .NET 6.0. 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 Core 3.1 and .NET 6.0 that could lead to unauthorized access of privileged information.

## <a name="affected-software"></a>Affected software

* Any .NET 6.0 application running on .NET 6.0.7 or earlier. * Any .NET Core 3.1 applicaiton running on .NET Core 3.1.27 or earlier.

If your application uses the following package versions, ensure you update to the latest version of .NET.

### <a name=".NET Core 3.1"></a>.NET Core 3.1

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- [System.Security.Cryptography.Xml](http://system.security)| <=4.7.0| 4.7.1 [Microsoft.AspNetCore.App.Runtime.win-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-x64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.linux-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-x64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.win-x86](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-x86)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.osx-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.osx-x64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.linux-musl-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-musl-x64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.linux-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-arm64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.linux-arm](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-arm)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.win-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-arm64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.win-arm](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-arm)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.linux-musl-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-musl-arm64)| >=3.1.0, 3.1.27| 3.1.28 [Microsoft.AspNetCore.App.Runtime.linux-musl-arm](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-musl-arm)| >=3.1.0, 3.1.27| 3.1.28

### <a name=".NET 6"></a>.NET 6

Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- [System.Security.Cryptography.Xml](https://www.nuget.org/packages/System.Security.Cryptography.Xml)| >=5.0.0, 6.0.0| 6.0.1 [Microsoft.AspNetCore.App.Runtime.win-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-x64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.linux-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-x64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.win-x86](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-x86)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.osx-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.osx-x64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.linux-musl-x64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-musl-x64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.linux-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-arm64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.linux-arm](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-arm)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.win-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-arm64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.win-arm](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-arm)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.osx-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.osx-arm64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.linux-musl-arm64](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-musl-arm64)| >=6.0.0, 6.0.7| 6.0.8 [Microsoft.AspNetCore.App.Runtime.linux-musl-arm](https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.linux-musl-arm)| >=6.0.0, 6.0.7| 6.0.8

## Patches

* If you're using .NET 6.0, you should download and install Runtime 6.0.8 or SDK 6.0.108 (for Visual Studio 2022 v17.1) from https://dotnet.microsoft.com/download/dotnet-core/6.0. * If you're using .NET Core 3.1, you should download and install Runtime 3.1.28 (for Visual Studio 2019 v16.9) from https://dotnet.microsoft.com/download/dotnet-core/3.1.

### Other

Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/232 An Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/43166 MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-34716

Are you affected?

Enter the version of the package you're using.

Affected packages

NuGet / System.Security.Cryptography.Xml
Introduced in: 0 Fixed in: 4.7.1
Fix dotnet add package System.Security.Cryptography.Xml --version 4.7.1
NuGet / System.Security.Cryptography.Xml
Introduced in: 5.0.0 Fixed in: 6.0.1
Fix dotnet add package System.Security.Cryptography.Xml --version 6.0.1
NuGet / Microsoft.AspNetCore.App.Runtime.win-x64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.win-x64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.linux-x64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.linux-x64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.win-x86
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.win-x86
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.osx-x64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.osx-x64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-x64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-x64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.linux-arm
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.win-arm
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.osx-arm64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.osx-arm64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 6.0.8
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm
Introduced in: 3.1.0 Fixed in: 3.1.28
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 3.1.28
NuGet / Microsoft.AspNetCore.App.Runtime.linux-musl-arm
Introduced in: 6.0.0 Fixed in: 6.0.8
Fix dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 6.0.8

References