Skip to content

GHSA-r8m2-4x37-6592 BIT-dotnet-2022-38013 BIT-dotnet-sdk-2022-38013 CVE-2022-38013

.NET Denial of Service Vulnerability

High NuGet
Severity
7.5 / 10
High · CVSS 3.1
Exploit chance (EPSS)
4.04%
Chance of exploitation in the next 30 days. Higher than 90.61% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-400 Uncontrolled Resource Consumption
Fix
Available
12 packages have a fixed version

Description

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.

A denial of service vulnerability exists in ASP.NET Core 3.1 and .NET 6.0 where a malicious client could cause a stack overflow which may result in a denial of service attack when an attacker sends a customized payload that is parsed during model binding.

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

  • Any .NET 6.0 application running on .NET 6.0.8 or earlier.
  • Any ASP.NET Core 3.1 application running on .NET Core 3.1.28 or earlier. If your application uses the following package versions, ensure you update to the latest version of .NET.

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

Package name Affected version Patched version
Microsoft.AspNetCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.win-arm >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.win-arm64 >= 3.1.5, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.29 3.1.29
Microsoft.AspNetCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.29 3.1.29

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

Package name Affected version Patched version
Microsoft.AspNetCore.App.Runtime.linux-arm >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.linux-musl-arm >= 5.0.1, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.linux-x64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.osx-arm64 >= 6.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.osx-x64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.win-arm >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.win-arm64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.win-x64 >= 5.0.0, < 6.0.9 6.0.9
Microsoft.AspNetCore.App.Runtime.win-x86 >= 5.0.0, < 6.0.9 6.0.9

Other

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

Affected versions

NuGet

PackageVulnerableFixed in
Microsoft.AspNetCore.App.Runtime.linux-arm
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.linux-arm
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.linux-arm64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.linux-arm64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.linux-x64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.linux-x64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.osx-arm64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.osx-x64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.osx-x64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.win-arm
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.win-arm
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.win-arm64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.win-arm64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.win-x64
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.win-x64
>= 5.0.0, < 6.0.9
6.0.9
Microsoft.AspNetCore.App.Runtime.win-x86
>= 3.1.0, < 3.1.29
3.1.29
Microsoft.AspNetCore.App.Runtime.win-x86
>= 5.0.0, < 6.0.9
6.0.9

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

Microsoft.AspNetCore.App.Runtime.linux-arm NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.29

Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet → 6.0.9

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 6.0.9

Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGet → 6.0.9

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-arm64 --version 6.0.9

Microsoft.AspNetCore.App.Runtime.osx-x64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.win-arm NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.29

Microsoft.AspNetCore.App.Runtime.win-arm64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.win-x64 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.29

Microsoft.AspNetCore.App.Runtime.win-x86 NuGet → 3.1.29

dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.29

Severity breakdown

CVSS 3.1 7.5

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

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Weakness

CWE-400: Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource.

How to prevent it
  • Architecture and Design: Design throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold.
  • Architecture and Design: Mitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question. The second solution is simply difficult to effectively institute -- and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.
  • Architecture and Design: Ensure that protocols have specific limits of scale placed on them.
  • Implementation: Ensure that all failures in resource allocation place the system into a safe posture.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-vmch-3w2x-vhgq
.NET Denial of Service Vulnerability
High Known exploited Also affects Microsoft.AspNetCore.App.Runtime.win-arm64
GHSA-f4g7-52wc-p8x7
Microsoft Security Advisory CVE-2026-96236 - ASP.NET Core Denial of Service Vulnerability
High Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
GHSA-rv87-ccxw-8ggf
Microsoft Security Advisory CVE-2026-88092 - ASP.NET Core Security Feature Bypass Vulnerability
Critical Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
GHSA-57xr-hfxx-jw5x
Microsoft Security Advisory CVE-2026-70196 - ASP.NET Core Denial of Service Vulnerability
Medium Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
GHSA-fpq8-4vhr-rcxx
Microsoft Security Advisory CVE-2026-70188 - ASP.NET Core Security Feature Bypass Vulnerability
Critical Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
GHSA-mf4x-w4gh-4656
Microsoft Security Advisory CVE-2026-70186 - ASP.NET Core Denial of Service Vulnerability
High Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
GHSA-494h-xx7x-5frh
Microsoft Security Advisory CVE-2026-70183 - ASP.NET Core Security Feature Bypass Vulnerability
High Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
GHSA-w5qq-qrpp-rf4c
Microsoft Security Advisory CVE-2026-70181 - ASP.NET Core Denial of Service Vulnerability
High Also affects Microsoft.AspNetCore.App.Runtime.linux-arm
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor