CVE-2022-21986: Microsoft.AspNetCore.App.Runtime.win x64 Denial of Service Vulnerability
HIGHCVE-2022-21986 is a HIGH (CVSS 7.5) denial of service vulnerability (General Security Weakness) affecting Microsoft.AspNetCore.App.Runtime.win x64 libraries in the NuGet ecosystem. The issue involves .net denial of service vulnerability. Remediation is available by upgrading affected packages to version 5.0.14, 6.0.2.
CVE-2022-21986 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2022-21986
To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.App.Runtime.win x64 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 5.0.14
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.osx-arm64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 6.0.2
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 6.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Microsoft.AspNetCore.App.Runtime.win-x64
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-21986, inspect your project dependencies for Microsoft.AspNetCore.App.Runtime.win x64:
inspect dependencies for Microsoft.AspNetCore.App.Runtime.win-x64
Analyze the terminal output to locate any version of Microsoft.AspNetCore.App.Runtime.win x64 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Microsoft.AspNetCore.App.Runtime.win x64, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-21986 Affected Microsoft.AspNetCore.App.Runtime.win x64 Versions
23 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.AspNetCore.App.Runtime.win-x64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-x64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.win-x86
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.osx-x64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-arm64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-arm
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.win-arm64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.win-arm
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
|
NuGet |
≥ 5.0.0
< 5.0.14
|
5.0.14
|
|
Microsoft.AspNetCore.App.Runtime.linux-arm
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.linux-arm64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.linux-x64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.osx-arm64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.osx-x64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.win-arm
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.win-arm64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.win-x64
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
|
Microsoft.AspNetCore.App.Runtime.win-x86
|
NuGet |
≥ 6.0.0
< 6.0.2
|
6.0.2
|
References
Frequently Asked Questions
What is CVE-2022-21986?
Which Microsoft.AspNetCore.App.Runtime.win x64 versions are affected?
What version fixes CVE-2022-21986?
Is Microsoft.AspNetCore.App.Runtime.win-x64 affected?
Is Microsoft.AspNetCore.App.Runtime.linux-x64 affected?
What is the CVSS score of CVE-2022-21986?
What CWE is associated with CVE-2022-21986?
How can I check NuGet dependencies for CVE-2022-21986?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x459-p2rx-f8ff",
"modified" : "2022-10-21T20:29:04Z",
"published" : "2022-10-21T20:29:04Z",
"aliases" : [ "CVE-2022-21986" ],
"summary" : ".NET Denial of Service Vulnerability",
"details" : "Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0 and .NET 5.0. 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 6.0 and .NET 5.0 when the Kestrel web server processes certain HTTP/2 and HTTP/3 requests.\n\n### Affected Software\n\n* Any .NET 6.0 application running on .NET 6.0.1 or lower.\n* Any .NET 5.0 application running on .NET 5.0.13 or lower.\n\n### Patches\nTo fix the issue, please install the latest version of .NET 6.0 or .NET 5.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.\n\n* If you're using .NET Core 6.0, you should download and install Runtime 6.0.2 or SDK 6.0.102 (for Visual Studio 2022 v17.1) from https://dotnet.microsoft.com/download/dotnet-core/6.0.\n\n* If you're using .NET 5.0, you should download and install Runtime 5.0.14 or SDK 5.0.114 (for Visual Studio 2019 v16.8) or SDK 5.0.405 (for Visual Studio 2011 v16.11) from https://dotnet.microsoft.com/download/dotnet-core/5.0.\n\n\n.NET 6.0 and .NET 5.0 updates are also available from Microsoft Update. To access this either type \"Check for updates\" in your Windows search, or open Settings, choose Update & Security and then click Check for Updates.\n\n#### Other Details\n\n- Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/207\n- An Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/40072\n- MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2022-21986",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.osx-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-x459-p2rx-f8ff"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-21986"
}, {
"type" : "WEB",
"url" : "https://github.com/dotnet/announcements/issues/207"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dotnet/aspnetcore"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4HMQOHV7G5TF6OMBN6DNTDOKQQU7KHMM"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CCTBSBE3PNIMXG6ALX2CQG4ZEH7W3YAT"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-21986"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-21986"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-21T20:29:04Z",
"nvd_published_at" : "2022-02-09T17:15:00Z"
}
}