{"id":"GHSA-rh58-r7jh-xhx3","revision":"e55a3f75eaac4f28b85fabb658aa4568","records":[{"revision":"e55a3f75eaac4f28b85fabb658aa4568","observedAt":"2026-10-23T16:01:25.029+00:00","statement":{"source":"osv","id":"GHSA-rh58-r7jh-xhx3","aliases":["BIT-dotnet-2021-26423","BIT-dotnet-sdk-2021-26423","CVE-2021-26423"],"title":".NET Core Elevation of Privilege Vulnerability","description":"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.\n\nA 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. \n\n### Patches\n\n* 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.\n\n* 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.\n\n* 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.\n\n\n#### Other Details\n\n- Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/194\n- An Issue for this can be found at https://github.com/dotnet/runtime/issues/57175\n- MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-26423\n","state":0,"publishedAt":"2022-10-25T17:33:12+00:00","modifiedAt":"2024-12-01T05:38:38.177837+00:00","affected":[{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-x86","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-x86","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-arm","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.win-arm","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.osx-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.osx-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.osx-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.linux-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.linux-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.Mono.linux-arm","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-musl-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-musl-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-musl-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-musl-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-musl-arm","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.rhel.6-x64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-arm64","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-arm","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"3.1.0"},{"kind":"fixed","version":"3.1.18"}]}],"versions":["3.1.0","3.1.1","3.1.10","3.1.11","3.1.12","3.1.13","3.1.14","3.1.15","3.1.16","3.1.17","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"rawVersionEvidence":null},{"ecosystem":"NuGet","name":"Microsoft.NETCore.App.Runtime.linux-arm","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/dotnet/runtime/security/advisories/GHSA-rh58-r7jh-xhx3","https://nvd.nist.gov/vuln/detail/CVE-2021-26423","https://github.com/dotnet/announcements/issues/194","https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26423"],"sourceUrl":"https://github.com/advisories/GHSA-rh58-r7jh-xhx3","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rh58-r7jh-xhx3","identifiers":["GHSA-rh58-r7jh-xhx3","BIT-dotnet-2021-26423","BIT-dotnet-sdk-2021-26423","CVE-2021-26423"]},"retained":false,"historicalAffected":[]}],"coverage":[]}