Loading...
Skip to main content

CVE-2022-29145 — Vulnerability in...

HIGH

.NET Denial of Service Vulnerability

Published August 30, 2022Updated June 8, 2026Source: osv

Summary

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 5.0 and .NET Core 3.1. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. A vulnerability exists in .NET 6.0, .NET 5.0 and .NET core 3.1 where a malicious client can can cause a denial of service when HTML forms are parsed. ### Affected software * Any .NET 6.0 application running on .NET 6.0.4 or earlier. * Any .NET 5.0 application running .NET 5.0.16 or earlier. * Any .NET Core 3.1 application running on .NET Core 3.1.24 or earlier. #### Affected packages **.NET Core 3.1** | Package name | Affected version | Patched version | |---------------------------------------------------|---------------------|---------------| | Microsoft.AspNetCore.App.Runtime.win-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=3.0.0,3.1.24 | 3.1.25 | **.NET 5.0** | Package name | Affected version | Patched version | |---------------------------------------------------|---------------------|---------------| | Microsoft.AspNetCore.App.Runtime.win-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=5.0.0,5.0.16 | 5.0.17 | **.NET 6.0** | Package name | Affected version | Patched version | |---------------------------------------------------|---------------------|---------------| | Microsoft.AspNetCore.App.Runtime.win-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.osx-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=6.0.0,6.0.4 | 6.0.5 | ### Patches * If you're using .NET Core 6.0, you should download and install Runtime 6.0.5 or SDK 6.0.105 (for Visual Studio 2022 v17.0) or SDK 6.0.203 (for Visual Studio 2022 v17.1) from https://dotnet.microsoft.com/download/dotnet-core/6.0. * If you're using .NET 5.0, you should download and install Runtime 5.0.17 or SDK 5.0.214 (for Visual Studio 2019 v16.9) or SDK 5.0.408 (for Visual Studio 2011 v16.11) 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.25 or SDK 3.1.419 (for Visual Studio 2019 v16.9 or Visual Studio 2011 16.11 or Visual Studio 2022 17.0 or Visual Studio 2022 17.1 ) from https://dotnet.microsoft.com/download/dotnet-core/3.1. .NET 6.0, .NET 5.0 and .NET Core 3.1 updates are also available from Microsoft Update. To access this either type "Check for updates" in your Windows search, or open Settings, choose Update & Security and then click Check for Updates. ### Other Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/222 An Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/41609 MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29145

Advisory Timeline

  • First published August 30, 2022 (1504 days ago).
  • Last revised June 8, 2026 — 1378 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-x64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.osx-x64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x86 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x86 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-x86 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.osx-x64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.win-arm64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 5.0.17
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 3.1.25
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-x64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm64 to 6.0.5 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 6.0.5
NuGet
Update Microsoft.AspNetCore.App.Runtime.linux-arm64 to 5.0.17 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 5.0.17

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

Affected Packages (33)

Affects 1 ecosystem: nuget (11).

PackageEcosystemAffectedFixed In
Microsoft.AspNetCore.App.Runtime.win-x64
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-x64
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.win-arm
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-x64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.win-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm64
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.osx-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.win-x64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-arm
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.osx-x64
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.win-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.win-x86
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.win-x86
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.win-x86
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm64
nuget
3.1.10, 3.1.11, 3.1.12, 3.1.13 (+16 more)3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.linux-arm
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.linux-arm
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm
nuget
3.0.0, 3.0.1, 3.0.2, 3.0.3 (+25 more)3.1.25
Microsoft.AspNetCore.App.Runtime.osx-x64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.win-arm64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
nuget
5.0.1, 5.0.10, 5.0.11, 5.0.12 (+12 more)5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
nuget
All versions3.1.25
Microsoft.AspNetCore.App.Runtime.linux-x64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm64
nuget
6.0.0, 6.0.1, 6.0.2, 6.0.3 (+1 more)6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm64
nuget
5.0.0, 5.0.1, 5.0.10, 5.0.11 (+13 more)5.0.17

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

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

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-fcg8-mg9g-6hc4
BIT-dotnet-2022-29145
BIT-dotnet-sdk-2022-29145

Related CVEs

Check if you're affected

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

Scan Your Dependencies