CVE-2022-34716 — Vulnerability in Microsoft.AspNetC…linux-x64
.NET Information Disclosure Vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.03%). Schedule for your next planned update.
Does your project use an affected Microsoft.AspNetCore.App.Runtime.linux-x64 version?
Paste your packages.lock.json to check it for CVE-2022-34716 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
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.
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.
.NET Core 3.1
| Package name | Affected version | Patched version |
|---|---|---|
| System.Security.Cryptography.Xml | <=4.7.0 | 4.7.1 |
| Microsoft.AspNetCore.App.Runtime.win-x64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.win-x86 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-arm | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.win-arm | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=3.1.0, 3.1.27 | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=3.1.0, 3.1.27 | 3.1.28 |
.NET 6
| Package name | Affected version | Patched version |
|---|---|---|
| System.Security.Cryptography.Xml | >=5.0.0, 6.0.0 | 6.0.1 |
| Microsoft.AspNetCore.App.Runtime.win-x64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-x86 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-arm | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-arm | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | >=6.0.0, 6.0.7 | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=6.0.0, 6.0.7 | 6.0.8 |
| 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
Advisory Timeline
- First published February 3, 2024 (1027 days ago).
- Last revised September 4, 2025 — 580 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-arm64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 6.0.8
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.28
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.28
dotnet add package System.Security.Cryptography.Xml --version 6.0.1
dotnet add package System.Security.Cryptography.Xml --version 4.7.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (25)
Affects 1 ecosystem: NuGet (13).
| Package | Fixed In |
|---|---|
| Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-arm NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-x64 NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-arm64 NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-arm NuGet · Affected: 3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more) | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.win-arm NuGet · Affected: 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 · Affected: All versions | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 NuGet · Affected: 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 · Affected: 3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more) | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet · Affected: 3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more) | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGet · Affected: 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 · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet · Affected: 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 · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-x86 NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-x86 NuGet · Affected: 3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more) | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-arm NuGet · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.win-x64 NuGet · Affected: 3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more) | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet · Affected: 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 · Affected: 6.0.0, 6.0.1, 6.0.2, 6.0.3 (+4 more) | 6.0.8 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet · Affected: 3.1.0, 3.1.1, 3.1.10, 3.1.11 (+24 more) | 3.1.28 |
| Microsoft.AspNetCore.App.Runtime.win-arm64 NuGet · Affected: 3.1.10, 3.1.11, 3.1.12, 3.1.13 (+19 more) | 3.1.28 |
| System.Security.Cryptography.Xml NuGet · Affected: 5.0.0, 6.0.0 | 6.0.1 |
| System.Security.Cryptography.Xml NuGet · Affected: 4.4.0, 4.4.0-preview1-25305-02, 4.4.0-preview2-25405-01, 4.4.1 (+8 more) | 4.7.1 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/dotnet/aspnetcore/security/advisories/GHSA-vh55-786g-wjwjWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-34716ADVISORY
- https://github.com/dotnet/announcements/issues/232WEB
- https://github.com/dotnet/aspnetcore/issues/43166WEB
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-34716WEB
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-34716WEB
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). It has a 2.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-34716 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This places it in the top quartile of EPSS-scored vulnerabilities — 81.7% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-35264CRITICAL
Microsoft Security Advisory CVE-2024-35264 | .NET Remote Code Execution Vulnerability
- CVE-2024-38229HIGH
Microsoft Security Advisory CVE-2024-38229 | .NET Remote Code Execution Vulnerability
- CVE-2026-42899HIGH
Microsoft Security Advisory CVE-2026-42899 – ASP.NET Core Denial of Service Vulnerability
- CVE-2022-24464HIGH
.NET Denial of Service Vulnerability
- CVE-2020-1597HIGH
ASP.NET Core Denial of Service Vulnerability
- CVE-2022-29145HIGH
.NET Denial of Service Vulnerability
- CVE-2024-21386HIGH
Microsoft Security Advisory CVE-2024-21386: .NET Denial of Service Vulnerability
- CVE-2024-30046MEDIUM
Microsoft Security Advisory CVE-2024-30046 | .NET Denial of Service Vulnerability