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
| Package | Affected | Fix |
|---|---|---|
| Microsoft.AspNetCore.App.Runtime.win-x64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x86 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | introduced 5.0.0, fixed 5.0.14 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-arm64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-arm64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x64 | introduced 6.0.0, fixed 6.0.2 | The export has no generic command for this ecosystem. |
| Microsoft.AspNetCore.App.Runtime.win-x86 | introduced 6.0.0, fixed 6.0.2 | The 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
Links
- https://github.com/dotnet/aspnetcore/security/advisories/GHSA-x459-p2rx-f8ff
- https://nvd.nist.gov/vuln/detail/CVE-2022-21986
- https://github.com/dotnet/announcements/issues/207
- https://github.com/dotnet/aspnetcore
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4HMQOHV7G5TF6OMBN6DNTDOKQQU7KHMM
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CCTBSBE3PNIMXG6ALX2CQG4ZEH7W3YAT
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-21986
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-21986
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0