{"id":"CVE-2021-26423","aliases":["CVE-2021-26423","GHSA-rh58-r7jh-xhx3","BIT-DOTNET-2021-26423","BIT-DOTNET-SDK-2021-26423"],"related":[],"kind":"vulnerability","state":"published","title":".NET Core and Visual Studio Denial of Service Vulnerability","summary":".NET Core and Visual Studio Denial of Service Vulnerability","summarySource":"cvelist","descriptions":[{"lang":"en-US","text":".NET Core and Visual Studio Denial of Service Vulnerability","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una Vulnerabilidad de Denegación de Servicio en .NET Core y Visual Studio","source":"nvd"}],"published":"2021-08-12T18:11:31.000Z","modified":"2026-09-08T08:46:46.290Z","severity":{"scorer":"microsoft","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"microsoft","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"custom","introduced":"5.0.0","fixed":"5.0.9","status":"affected"}],"vendor":"Microsoft","product":".NET 5.0","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.1","fixed":"2.1.30","status":"affected"}],"vendor":"Microsoft","product":".NET Core 2.1","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"3.1","fixed":"3.1.18","status":"affected"}],"vendor":"Microsoft","product":".NET Core 3.1","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"15.9.0","fixed":"15.9.38","status":"affected"}],"vendor":"Microsoft","product":"Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"16.10.0","fixed":"16.10.5","status":"affected"}],"vendor":"Microsoft","product":"Microsoft Visual Studio 2019 version 16.10 (includes 16.0 - 16.9)","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"16.0","fixed":"16.4.25","status":"affected"}],"vendor":"Microsoft","product":"Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3)","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"16.0.0","fixed":"16.7.18","status":"affected"}],"vendor":"Microsoft","product":"Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"15.0.0","fixed":"16.9.10","status":"affected"}],"vendor":"Microsoft","product":"Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.0.0","fixed":"7.0.7","status":"affected"}],"vendor":"Microsoft","product":"PowerShell Core 7.0","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.1.0","fixed":"7.1.4","status":"affected"}],"vendor":"Microsoft","product":"PowerShell Core 7.1","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"8.1.0","fixed":"8.10.7","status":"affected"}],"vendor":"Microsoft","product":"Visual Studio 2019 for Mac version 8.10","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-x86","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-x86","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-x86","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-x86","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-arm","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.win-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.win-arm","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.osx-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.osx-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.osx-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.linux-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.linux-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.Mono.linux-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.Mono.linux-arm","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-musl-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-musl-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-musl-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-musl-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-musl-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-musl-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-musl-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-musl-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-musl-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-musl-arm","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.rhel.6-x64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.rhel.6-x64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-arm64","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-arm64","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.18"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-arm","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"NuGet","package":"Microsoft.NETCore.App.Runtime.linux-arm","purl":"pkg:nuget/Microsoft.NETCore.App.Runtime.linux-arm","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.0","lastAffected":"5.0.8"}],"vendor":"microsoft","product":".net","cpe":"cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"2.1","lastAffected":"2.1.28"},{"status":"affected","introduced":"3.1","lastAffected":"3.1.17"}],"vendor":"microsoft","product":".net_core","cpe":"cpe:2.3:a:microsoft:.net_core:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.0","fixed":"7.0.7"},{"status":"affected","introduced":"7.1","fixed":"7.1.4"}],"vendor":"microsoft","product":"powershell_core","cpe":"cpe:2.3:a:microsoft:powershell_core:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"15.0","lastAffected":"15.9"}],"vendor":"microsoft","product":"visual_studio_2017","cpe":"cpe:2.3:a:microsoft:visual_studio_2017:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"16.0","lastAffected":"16.10"},{"status":"affected","version":"8.10"}],"vendor":"microsoft","product":"visual_studio_2019","cpe":"cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"Bitnami","package":"dotnet","purl":"pkg:bitnami/dotnet","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.9"}],"ecosystem":"Bitnami","package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"bitnami"}],"references":[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-26423","tags":["patch","vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-26423","tags":["advisory","patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/dotnet/runtime/security/advisories/GHSA-rh58-r7jh-xhx3","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26423","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/dotnet/announcements/issues/194","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"microsoft","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-04T13:28:43.832Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-26423","url":"https://www.cve.org/CVERecord?id=CVE-2021-26423","licence":"CVE Terms of Use","modified":"2026-08-10T15:09:59.739Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rh58-r7jh-xhx3","url":"https://github.com/advisories/GHSA-rh58-r7jh-xhx3","licence":"CC-BY-4.0","modified":"2024-12-01T05:38:38.177Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-26423","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26423","licence":"Public domain","modified":"2026-08-10T16:17:31.570Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DOTNET-2021-26423","url":"https://osv.dev/vulnerability/BIT-DOTNET-2021-26423","licence":"Apache-2.0","modified":"2026-09-08T08:46:46.290Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DOTNET-SDK-2021-26423","url":"https://osv.dev/vulnerability/BIT-DOTNET-SDK-2021-26423","licence":"Apache-2.0","modified":"2026-09-08T08:46:38.483Z"}],"updatedAt":"2026-11-25T22:58:03.150Z","epss":{"score":0.03902,"percentile":0.91055,"date":"2026-11-30T12:00:22.000Z"}}