Loading HuntDB...

GHSA-rh58-r7jh-xhx3

GitHub Security Advisory

.NET Core Elevation of Privilege Vulnerability

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

Microsoft is releasing this security advisory to provide information about a vulnerability in .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 denial of service vulnerability exists in .NET 5.0, .NET Core 3.1 and .NET Core 2.1 where .NET (Core) server applications providing WebSocket endpoints could be tricked into endlessly looping while trying to read a single WebSocket frame.

### Patches

* If you're using .NET 5.0, you should download and install Runtime 5.0.9 or SDK 5.0.206 (for Visual Studio 2019 v16.8) or SDK 5.0.303 (for Visual Studio 2019 V16.10) from https://dotnet.microsoft.com/download/dotnet-core/5.0.

* If you're using .NET Core 3.1, you should download and install Runtime 3.1.18 or SDK 3.1.118 (for Visual Studio 2019 v16.4) or 3.1.412 (for Visual Studio 2019 v16.7 or later) from https://dotnet.microsoft.com/download/dotnet-core/3.1.

* If you're using .NET Core 2.1, you should download and install Runtime 2.1.29 or SDK 2.1.525 (for Visual Studio 2019 v15.9) or 2.1.817 from https://dotnet.microsoft.com/download/dotnet-core/2.1.

#### Other Details

- Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/194
- An Issue for this can be found at https://github.com/dotnet/runtime/issues/57175
- MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-26423

Affected Packages

NuGet Microsoft.NETCore.App.Runtime.win-x86
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.win-x86
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.win-x64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.win-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.win-arm64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.win-arm64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.win-arm
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.win-arm
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.osx-x64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.osx-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.osx-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-arm64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.Mono.linux-arm
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.linux-x64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.linux-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.rhel.6-x64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.linux-arm64
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.linux-arm64
Affected versions: 5.0.0 (fixed in 5.0.9)
NuGet Microsoft.NETCore.App.Runtime.linux-arm
Affected versions: 3.1.0 (fixed in 3.1.18)
NuGet Microsoft.NETCore.App.Runtime.linux-arm
Affected versions: 5.0.0 (fixed in 5.0.9)

Related CVEs

Key Information

GHSA ID
GHSA-rh58-r7jh-xhx3
Published
October 25, 2022 5:33 PM
Last Modified
October 25, 2022 5:33 PM
CVSS Score
7.5 /10
Primary Ecosystem
NuGet
Primary Package
Microsoft.NETCore.App.Runtime.win-x86
GitHub Reviewed
✓ Yes

Dataset

Last updated: June 12, 2025 6:24 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.