Advisory

GHSA-r8m2-4x37-6592

Also known as: BIT-dotnet-2022-38013, BIT-dotnet-sdk-2022-38013, CVE-2022-38013

Summary

.NET Denial of Service Vulnerability

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-09-15 03:25 UTC
Modified
2026-06-08 23:45 UTC

Affected packages and fixes

22 affected packages; all NuGet · All systems
PackageAffectedFix
Microsoft.AspNetCore.App.Runtime.linux-armintroduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-arm64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-x64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-x64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.osx-x64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-armintroduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-arm64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x64introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x86introduced 3.1.0, fixed 3.1.29The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-armintroduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-arm64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-armintroduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-x64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-x64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.osx-arm64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.osx-x64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-armintroduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-arm64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x64introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x86introduced 5.0.0, fixed 6.0.9The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences