Advisory

GHSA-x459-p2rx-f8ff

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

Summary

.NET Denial of Service Vulnerability

Details

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0 and .NET 5.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 .NET 6.0 and .NET 5.0 when the Kestrel web server processes certain HTTP/2 and HTTP/3 requests.

Affected Software

  • Any .NET 6.0 application running on .NET 6.0.1 or lower.
  • Any .NET 5.0 application running on .NET 5.0.13 or lower.

Patches
To fix the issue, please install the latest version of .NET 6.0 or .NET 5.0. If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.

  • If you're using .NET Core 6.0, you should download and install Runtime 6.0.2 or SDK 6.0.102 (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.14 or SDK 5.0.114 (for Visual Studio 2019 v16.8) or SDK 5.0.405 (for Visual Studio 2011 v16.11) from https://dotnet.microsoft.com/download/dotnet-core/5.0.

.NET 6.0 and .NET 5.0 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 Details

  • Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/207
  • An Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/40072
  • MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2022-21986

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-21 20:29 UTC
Modified
2024-12-04 05:34 UTC

Affected packages and fixes

23 affected packages; all NuGet · All systems
PackageAffectedFix
Microsoft.AspNetCore.App.Runtime.win-x64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-x64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x86introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.osx-x64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-x64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-arm64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-armintroduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-arm64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-armintroduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64introduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-armintroduced 5.0.0, fixed 5.0.14The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-armintroduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-arm64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-armintroduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-musl-x64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.linux-x64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.osx-arm64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.osx-x64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-armintroduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-arm64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x64introduced 6.0.0, fixed 6.0.2The export has no generic command for this ecosystem.
Microsoft.AspNetCore.App.Runtime.win-x86introduced 6.0.0, fixed 6.0.2The 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