GHSA-23cv-jh4v-vffm BIT-aspnet-core-2020-0602 CVE-2020-0602
Denial of service in ASP.NET Core
- Severity
- Medium
- The publisher's own rating, not a CVSS score
- Exploit chance (EPSS)
- 7.61%
- Chance of exploitation in the next 30 days. Higher than 94.56% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-400 Uncontrolled Resource Consumption
- Fix
- Available
- 11 packages have a fixed version
Description
A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka 'ASP.NET Core Denial of Service Vulnerability'.
Affected versions
NuGet
| Package | Vulnerable | Fixed in |
|---|---|---|
| Microsoft.AspNetCore.All | >= 2.1.0, < 2.1.15 |
2.1.15 |
| Microsoft.AspNetCore.App | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App | >= 3.0.0, < 3.0.1 |
3.0.1 |
| Microsoft.AspNetCore.App | >= 2.1.0, < 2.1.15 |
2.1.15 |
| Microsoft.AspNetCore.App.Runtime.linux-arm | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.linux-arm64 | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.linux-x64 | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.osx-x64 | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.win-arm | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.win-x64 | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.App.Runtime.win-x86 | >= 3.1.0, < 3.1.1 |
3.1.1 |
| Microsoft.AspNetCore.Http.Connections | >= 1.0.0, < 1.0.15 |
1.0.15 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
Microsoft.AspNetCore.All NuGet → 2.1.15
- dotnet
dotnet add package Microsoft.AspNetCore.All --version 2.1.15
Microsoft.AspNetCore.App NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App --version 3.1.1
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.1
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.1
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.1
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.1
Microsoft.AspNetCore.App.Runtime.osx-x64 NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.1
Microsoft.AspNetCore.App.Runtime.win-arm NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.1
Microsoft.AspNetCore.App.Runtime.win-x64 NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.1
Microsoft.AspNetCore.App.Runtime.win-x86 NuGet → 3.1.1
- dotnet
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.1
Microsoft.AspNetCore.Http.Connections NuGet → 1.0.15
- dotnet
dotnet add package Microsoft.AspNetCore.Http.Connections --version 1.0.15
Weakness
CWE-400: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
How to prevent it
- Architecture and Design: Design throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perhaps by caching result sets, can help minimize the resources expended. To further limit the potential for a DoS attack, consider tracking the rate of requests received from users and blocking requests that exceed a defined rate threshold.
- Architecture and Design: Mitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question. The second solution is simply difficult to effectively institute -- and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.
- Architecture and Design: Ensure that protocols have specific limits of scale placed on them.
- Implementation: Ensure that all failures in resource allocation place the system into a safe posture.
References
Advisories
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-vmch-3w2x-vhgq .NET Denial of Service Vulnerability | High Known exploited | Also affects Microsoft.AspNetCore.App.Runtime.win-x64 |
| GHSA-f4g7-52wc-p8x7 Microsoft Security Advisory CVE-2026-96236 - ASP.NET Core Denial of Service Vulnerability | High | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
| GHSA-rv87-ccxw-8ggf Microsoft Security Advisory CVE-2026-88092 - ASP.NET Core Security Feature Bypass Vulnerability | Critical | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
| GHSA-57xr-hfxx-jw5x Microsoft Security Advisory CVE-2026-70196 - ASP.NET Core Denial of Service Vulnerability | Medium | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
| GHSA-fpq8-4vhr-rcxx Microsoft Security Advisory CVE-2026-70188 - ASP.NET Core Security Feature Bypass Vulnerability | Critical | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
| GHSA-mf4x-w4gh-4656 Microsoft Security Advisory CVE-2026-70186 - ASP.NET Core Denial of Service Vulnerability | High | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
| GHSA-494h-xx7x-5frh Microsoft Security Advisory CVE-2026-70183 - ASP.NET Core Security Feature Bypass Vulnerability | High | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
| GHSA-w5qq-qrpp-rf4c Microsoft Security Advisory CVE-2026-70181 - ASP.NET Core Denial of Service Vulnerability | High | Also affects Microsoft.AspNetCore.App.Runtime.linux-arm |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor