Loading...
Skip to main content

CVE-2022-34716

MEDIUM

.NET Information Disclosure Vulnerability

Published February 3, 2024Updated September 4, 2025Source: osv

Summary

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

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-x64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.28
NuGet
Update System.Security.Cryptography.Xml to 6.0.1 or later
dotnet add package System.Security.Cryptography.Xml --version 6.0.1
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.osx-arm64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-arm64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x86 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x86 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.osx-x64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 6.0.8
NuGet
Update System.Security.Cryptography.Xml to 4.7.1 or later
dotnet add package System.Security.Cryptography.Xml --version 4.7.1
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 6.0.8 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 6.0.8
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.28
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm64 to 3.1.28 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.28

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

Affected Packages (25)

PackageEcosystemAffectedFixed In
Microsoft.AspNetCore.App.Runtime.linux-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.win-arm
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.win-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.win-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.linux-arm
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.win-arm
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
nuget
All versions3.1.28
Microsoft.AspNetCore.App.Runtime.osx-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
System.Security.Cryptography.Xml
nuget
5.0.0, 6.0.06.0.1
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.osx-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.linux-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.win-x86
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.win-x86
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.osx-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.linux-arm
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
System.Security.Cryptography.Xml
nuget
4.4.0, 4.4.0-preview1-25305-02, 4.4.0-preview2-25405-01, 4.4.1 (+8 more)4.7.1
Microsoft.AspNetCore.App.Runtime.win-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.linux-x64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more)6.0.8
Microsoft.AspNetCore.App.Runtime.linux-arm64
nuget
3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more)3.1.28
Microsoft.AspNetCore.App.Runtime.win-arm64
nuget
3.1.10, 3.1.11, 3.1.12, 3.1.13 (+19 more)3.1.28

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

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

Severity & Exploitability

CVSS Score
5.9

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

Also Known As

GHSA-vh55-786g-wjwj
BIT-dotnet-2022-34716
BIT-dotnet-sdk-2022-34716
BIT-powershell-2022-34716

Related CVEs

  • CVE-2025-55315
    CRITICAL

    Microsoft Security Advisory CVE-2025-55315: .NET Security Feature Bypass Vulnerability

  • CVE-2024-35264
    CRITICAL

    Microsoft Security Advisory CVE-2024-35264 | .NET Remote Code Execution Vulnerability

  • CVE-2023-33170
    HIGH

    Microsoft Security Advisory CVE-2023-33170: .NET Security Feature Bypass Vulnerability

  • CVE-2025-24070
    HIGH

    Microsoft Security Advisory CVE-2025-24070: .NET Elevation of Privilege Vulnerability

  • CVE-2024-38229
    HIGH

    Microsoft Security Advisory CVE-2024-38229 | .NET Remote Code Execution Vulnerability

  • CVE-2026-42899
    HIGH

    Microsoft Security Advisory CVE-2026-42899 – ASP.NET Core Denial of Service Vulnerability

  • CVE-2020-1597
    HIGH

    ASP.NET Core Denial of Service Vulnerability

  • CVE-2024-21386
    HIGH

    Microsoft Security Advisory CVE-2024-21386: .NET Denial of Service Vulnerability

Check if you're affected

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

Scan Your Dependencies