GitHub Advisoryadvisory · NuGet
GHSA-g74q-5xw3-j7q9 Microsoft Security Advisory CVE-2024-21386: .NET Denial of Service Vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2024-21386
- Ecosystem
- NuGet
- Packages
- Microsoft.AspNetCore.App.Runtime.linux-arm, Microsoft.AspNetCore.App.Runtime.linux-arm64, Microsoft.AspNetCore.App.Runtime.linux-musl-arm, Microsoft.AspNetCore.App.Runtime.linux-musl-arm64, Microsoft.AspNetCore.App.Runtime.linux-musl-x64, Microsoft.AspNetCore.App.Runtime.linux-x64, Microsoft.AspNetCore.App.Runtime.osx-arm64, Microsoft.AspNetCore.App.Runtime.osx-x64, Microsoft.AspNetCore.App.Runtime.win-arm, Microsoft.AspNetCore.App.Runtime.win-arm64, Microsoft.AspNetCore.App.Runtime.win-x64, Microsoft.AspNetCore.App.Runtime.win-x86
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
- Reviewed
- 2024-02-13
Affected packages
• NuGet Microsoft.AspNetCore.App.Runtime.linux-arm: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.linux-arm64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-x64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.linux-x64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.osx-arm64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.osx-x64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.win-arm: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.win-arm64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.win-x64: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.win-x86: < 6.0.27 → fixed in 6.0.27
• NuGet Microsoft.AspNetCore.App.Runtime.linux-arm: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.linux-arm64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-x64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.linux-x64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.osx-arm64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.osx-x64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.win-arm: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.win-arm64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.win-x64: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.win-x86: >= 7.0.0, < 7.0.16 → fixed in 7.0.16
• NuGet Microsoft.AspNetCore.App.Runtime.linux-arm: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.linux-arm64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-x64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.linux-x64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.osx-arm64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.osx-x64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.win-arm: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.win-arm64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.win-x64: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
• NuGet Microsoft.AspNetCore.App.Runtime.win-x86: >= 8.0.0, < 8.0.2 → fixed in 8.0.2
Description
Microsoft Security Advisory CVE-2024-21386: .NET Denial of Service Vulnerability
Executive summary
Microsoft is releasing this security advisory to provide information about a vulnerability in ASP.NET 6.0, ASP.NET 7.0 and, ASP.NET 8.0 . This advisory also provides guidance on what developers can do to update their applications to address this vulnerability.
A vulnerability exists in ASP.NET applications using SignalR where a malicious client can result in a denial-of-service.
Announcement
Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/295
Mitigation factors
Microsoft has not identified any mitigating factors for this vulnerability.
Affected software
• Any .NET 6.0 application running on .NET 6.0.26 or earlier.
• Any .NET 7.0 application running on .NET 7.0.15 or earlier.
• Any .NET 8.0 application running on .NET 8.0.1 or earlier.
Affected Packages
The vulnerability affects any Microsoft .NET Core project if it uses any of affected packages versions listed below
ASP.NET 6.0
Package name | Affected version | Patched version
------------ | ---------------- | -------------------------
Microsoft.AspNetCore.App.Runtime.linux-arm | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.linux-arm64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.linux-musl-arm | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.linux-x64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.osx-arm64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.osx-x64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.win-arm | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.win-arm64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.win-x64 | <= 6.0.26 | 6.0.27
Microsoft.AspNetCore.App.Runtime.win-x86 | <= 6.0.26 | 6.0.27
ASP.NET 7.0
Package name | Affected version | Patched version
------------ | ---------------- | -------------------------
Microsoft.AspNetCore.App.Runtime.linux-arm | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.linux-arm64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.linux-musl-arm | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.linux-x64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.osx-arm64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.osx-x64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.win-arm | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.win-arm64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.win-x64 | <= 7.0.15 | 7.0.16
Microsoft.AspNetCore.App.Runtime.win-x86 | <= 7.0.15 | 7.0.16
ASP.NET 8.0
Package name | Affected version | Patched version
------------ | ---------------- | -------------------------
Microsoft.AspNetCore.App.Runtime.linux-arm | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.linux-arm64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.linux-musl-arm | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.linux-x64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.osx-arm64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.osx-x64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.win-arm | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.win-arm64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.win-x64 | <= 8.0.1 | 8.0.2
Microsoft.AspNetCore.App.Runtime.win-x86 | <= 8.0.1 | 8.0.2
Advisory FAQ
How do I know if I am affected?
If you have a runtime or SDK with a version listed, or an affected package listed in affected software or affected packages , you're exposed to the vulnerability.
How do I fix the issue?
• To fix the issue please install the latest version of .NET 8.0 or .NET 7.0 or .NET 6.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 have .NET 6.0 or greater installed, you can list the versions you have installed by running the `dotnet --info` command. You will see output like the following;
```
.NET Core SDK (reflecting any global.json):
Version: 6.0.200
Commit: 8473146e7d
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18363
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.300\
Host (useful for support):
Version: …
Related
Alias · CVE (1)
- CVE-2024-21386 .NET Denial of Service Vulnerability vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness