Skip to content

.NET Denial of Service Vulnerability

High severity GitHub Reviewed Published May 10, 2022 in dotnet/aspnetcore • Updated Dec 29, 2023

Package

nuget Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet)

Affected versions

>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5

Patched versions

3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.linux-arm64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.linux-musl-arm (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.linux-musl-x64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.linux-x64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.osx-x64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.win-arm (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.win-arm64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.win-x64 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5
nuget Microsoft.AspNetCore.App.Runtime.win-x86 (NuGet)
>= 3.0.0, < 3.1.25
>= 5.0.0, < 5.0.17
>= 6.0.0, < 6.0.5
3.1.25
5.0.17
6.0.5

Description

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

.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 dotnet/announcements#222
An Issue for this can be found at dotnet/aspnetcore#41609
MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29145

References

@rbhanda rbhanda published to dotnet/aspnetcore May 10, 2022
Published by the National Vulnerability Database May 10, 2022
Published to the GitHub Advisory Database Aug 30, 2022
Reviewed Aug 30, 2022
Last updated Dec 29, 2023

Severity

High

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
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS score

0.174%
(55th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2022-29145

GHSA ID

GHSA-fcg8-mg9g-6hc4

Source code

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