CVE-2022-29145: Microsoft.AspNetCore.App.Runtime.win x64 Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-fcg8-mg9g-6hc4
CVSS 7.5
CWE-400
Published
Advisory Summary

CVE-2022-29145 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) 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 3.1.25, 5.0.17, 6.0.5.

CVE-2022-29145 at a Glance

CVE Identifier CVE-2022-29145
GHSA Identifier GHSA-fcg8-mg9g-6hc4
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Microsoft.AspNetCore.App.Runtime.win x64
Package Ecosystem NuGet
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2022-29145

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.

Microsoft.AspNetCore.App.Runtime.win-x64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.win-x64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.win-x64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.linux-x64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.linux-x64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.linux-x64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.win-x86 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 3.1.25
Microsoft.AspNetCore.App.Runtime.win-x86 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 5.0.17
Microsoft.AspNetCore.App.Runtime.win-x86 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 6.0.5
Microsoft.AspNetCore.App.Runtime.osx-x64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.osx-x64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.osx-x64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.linux-arm64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.linux-arm64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.25
Microsoft.AspNetCore.App.Runtime.linux-arm fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 5.0.17
Microsoft.AspNetCore.App.Runtime.linux-arm fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.win-arm64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.win-arm64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 3.1.25
Microsoft.AspNetCore.App.Runtime.win-arm fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 5.0.17
Microsoft.AspNetCore.App.Runtime.win-arm fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-arm fixed: 3.1.25
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-arm fixed: 5.0.17
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm fixed: 6.0.5
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm to 6.0.5
Verify Direct and Transitive Dependencies

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-29145, 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 3.1.25), 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 CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .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. A vulnerability exists in .NET 6.0, .NET 5.0 and .NET core 3.1 where a malicious client can can cause a denial of service when HTML forms are parsed. ### Affected software * Any .NET 6.0 application running on .NET 6.0.4 or earlier. * Any .NET 5.0 application running .NET 5.0.16 or earlier. * Any .NET Core 3.1 application running on .NET Core 3.1.24 or earlier. #### Affected packages **.NET Core 3.1** | Package name | Affected version | Patched version | |---------------------------------------------------|---------------------|---------------| | Microsoft.AspNetCore.App.Runtime.win-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=3.0.0,3.1.24 | 3.1.25 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=3.0.0,3.1.24 | 3.1.25 | **.NET 5.0** | Package name | Affected version | Patched version | |---------------------------------------------------|---------------------|---------------| | Microsoft.AspNetCore.App.Runtime.win-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=5.0.0,5.0.16 | 5.0.17 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=5.0.0,5.0.16 | 5.0.17 | **.NET 6.0** | Package name | Affected version | Patched version | |---------------------------------------------------|---------------------|---------------| | Microsoft.AspNetCore.App.Runtime.win-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-x86 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.osx-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-arm | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.win-arm | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.osx-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=6.0.0,6.0.4 | 6.0.5 | | Microsoft.AspNetCore.App.Runtime.linux-musl-arm | >=6.0.0,6.0.4 | 6.0.5 | ### Patches * If you're using .NET Core 6.0, you should download and install Runtime 6.0.5 or SDK 6.0.105 (for Visual Studio 2022 v17.0) or SDK 6.0.203 (for Visual Studio 2022 v17.1) from https://dotnet.microsoft.com/download/dotnet-core/6.0. * If you're using .NET 5.0, you should download and install Runtime 5.0.17 or SDK 5.0.214 (for Visual Studio 2019 v16.9) or SDK 5.0.408 (for Visual Studio 2011 v16.11) from https://dotnet.microsoft.com/download/dotnet-core/5.0. * If you're using .NET Core 3.1, you should download and install Runtime 3.1.25 or SDK 3.1.419 (for Visual Studio 2019 v16.9 or Visual Studio 2011 16.11 or Visual Studio 2022 17.0 or Visual Studio 2022 17.1 ) from https://dotnet.microsoft.com/download/dotnet-core/3.1. .NET 6.0, .NET 5.0 and .NET Core 3.1 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. ### Other Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/222 An Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/41609 MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29145

CVE-2022-29145 Affected Microsoft.AspNetCore.App.Runtime.win x64 Versions

33 component(s)
Fixed Versions:
3.1.255.0.176.0.5
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.AspNetCore.App.Runtime.win-x64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.win-x64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.win-x64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.linux-x64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.linux-x64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.linux-x64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.win-x86
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.win-x86
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.win-x86
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.osx-x64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.osx-x64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.osx-x64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.linux-arm64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.linux-arm64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.linux-arm
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.linux-arm
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.linux-arm
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.win-arm64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.win-arm64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.win-arm
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.win-arm
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.win-arm
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
NuGet
≥ 6.0.0
< 6.0.5
6.0.5
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
NuGet
≥ 3.0.0
< 3.1.25
3.1.25
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
NuGet
≥ 5.0.0
< 5.0.17
5.0.17
Microsoft.AspNetCore.App.Runtime.linux-musl-arm
NuGet
≥ 6.0.0
< 6.0.5
6.0.5

References

GitHub Advisory / Wiki ADVISORY
https://github.com/dotnet/aspnetcore/security/advisories/GHSA-fcg8-mg9g-6hc4
NVD — CVE-2022-29145 NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-29145
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IBYSBUDJYQ76HK4TULXVIIPCKK2U6WDB
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W5FPEQ6BTYRGTS6IYCDTZW6YF5HLQ3BY
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IBYSBUDJYQ76HK4TULXVIIPCKK2U6WDB
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5FPEQ6BTYRGTS6IYCDTZW6YF5HLQ3BY
msrc.microsoft.com/update-guide/vulner... WEB
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29145
Microsoft.AspNetCore.App.Runtime.win x64 Security Information SECURITY
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-29145

Frequently Asked Questions

What is CVE-2022-29145?
CVE-2022-29145 is a security vulnerability in Microsoft.AspNetCore.App.Runtime.win x64 involving .NET Denial of Service Vulnerability under CWE-400: Uncontrolled Resource Consumption.
Which Microsoft.AspNetCore.App.Runtime.win x64 versions are affected?
Affected versions include releases prior to 3.1.25, 5.0.17, 6.0.5 across affected packages: Microsoft.AspNetCore.App.Runtime.win-x64, Microsoft.AspNetCore.App.Runtime.linux-x64, Microsoft.AspNetCore.App.Runtime.win-x86, Microsoft.AspNetCore.App.Runtime.osx-x64, Microsoft.AspNetCore.App.Runtime.linux-musl-x64, Microsoft.AspNetCore.App.Runtime.linux-arm64, Microsoft.AspNetCore.App.Runtime.linux-arm, Microsoft.AspNetCore.App.Runtime.win-arm64, Microsoft.AspNetCore.App.Runtime.win-arm, Microsoft.AspNetCore.App.Runtime.linux-musl-arm64, Microsoft.AspNetCore.App.Runtime.linux-musl-arm.
What version fixes CVE-2022-29145?
Upgrading to 3.1.25, 5.0.17, 6.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.AspNetCore.App.Runtime.win-x64 affected?
Yes, Microsoft.AspNetCore.App.Runtime.win-x64 is affected in releases prior to 3.1.25, 5.0.17, 6.0.5. Upgrade your dependency to 3.1.25, 5.0.17, 6.0.5 or later.
Is Microsoft.AspNetCore.App.Runtime.linux-x64 affected?
Yes, Microsoft.AspNetCore.App.Runtime.linux-x64 is affected in releases prior to 3.1.25, 5.0.17, 6.0.5. Upgrade your dependency to 3.1.25, 5.0.17, 6.0.5 or later.
What is the CVSS score of CVE-2022-29145?
CVE-2022-29145 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2022-29145?
CVE-2022-29145 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check NuGet dependencies for CVE-2022-29145?
Run the dependency tree command: 'inspect dependencies for Microsoft.AspNetCore.App.Runtime.win-x64'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fcg8-mg9g-6hc4",
  "modified" : "2026-06-08T23:41:10Z",
  "published" : "2022-08-30T19:35:52Z",
  "aliases" : [ "CVE-2022-29145" ],
  "summary" : ".NET Denial of Service Vulnerability",
  "details" : "Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .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 vulnerability exists in .NET 6.0, .NET 5.0 and .NET core 3.1 where a malicious client can can cause a denial of service when HTML forms are parsed.\n\n### Affected software\n\n* Any .NET 6.0 application running on .NET 6.0.4 or earlier.\n* Any .NET 5.0 application running .NET 5.0.16 or earlier.\n* Any .NET Core 3.1 application running on .NET Core 3.1.24 or earlier.\n\n#### Affected packages\n\n**.NET Core 3.1**\n\n| Package name                                  | Affected version | Patched version |\n|---------------------------------------------------|---------------------|---------------|\n| Microsoft.AspNetCore.App.Runtime.win-x64          | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.linux-x64        | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.win-x86          | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.osx-x64          | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-x64   | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.linux-arm64      | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.linux-arm        | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.win-arm64        | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.win-arm          | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=3.0.0,3.1.24      | 3.1.25        |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-arm   | >=3.0.0,3.1.24      | 3.1.25        |\n\n**.NET 5.0**\n\n| Package name                                  | Affected version | Patched version |\n|---------------------------------------------------|---------------------|---------------|\n| Microsoft.AspNetCore.App.Runtime.win-x64          | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.linux-x64        | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.win-x86          | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.osx-x64          | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-x64   | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.linux-arm64      | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.linux-arm        | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.win-arm64        | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.win-arm          | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=5.0.0,5.0.16      | 5.0.17        |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-arm   | >=5.0.0,5.0.16      | 5.0.17        |\n\n**.NET 6.0**\n\n| Package name                                  | Affected version | Patched version |\n|---------------------------------------------------|---------------------|---------------|\n| Microsoft.AspNetCore.App.Runtime.win-x64          | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.linux-x64        | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.win-x86          | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.osx-x64          | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-x64   | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.linux-arm64      | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.linux-arm        | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.win-arm64        | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.win-arm          | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.osx-arm64        | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >=6.0.0,6.0.4       | 6.0.5         |\n| Microsoft.AspNetCore.App.Runtime.linux-musl-arm   | >=6.0.0,6.0.4       | 6.0.5         |\n\n\n### Patches\n* If you're using .NET Core 6.0, you should download and install Runtime 6.0.5 or SDK 6.0.105 (for Visual Studio 2022 v17.0) or SDK 6.0.203 (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.17 or SDK 5.0.214 (for Visual Studio 2019 v16.9) or SDK 5.0.408 (for Visual Studio 2011 v16.11) 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.25 or SDK 3.1.419 (for Visual Studio 2019 v16.9 or Visual Studio 2011 16.11 or Visual Studio 2022 17.0 or Visual Studio 2022 17.1 ) from https://dotnet.microsoft.com/download/dotnet-core/3.1.\n\n.NET 6.0, .NET 5.0 and .NET Core 3.1 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\n\nAnnouncement for this issue can be found at https://github.com/dotnet/announcements/issues/222\nAn Issue for this can be found at https://github.com/dotnet/aspnetcore/issues/41609\nMSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29145",
  "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" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-fcg8-mg9g-6hc4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-29145"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IBYSBUDJYQ76HK4TULXVIIPCKK2U6WDB"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W5FPEQ6BTYRGTS6IYCDTZW6YF5HLQ3BY"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IBYSBUDJYQ76HK4TULXVIIPCKK2U6WDB"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5FPEQ6BTYRGTS6IYCDTZW6YF5HLQ3BY"
  }, {
    "type" : "WEB",
    "url" : "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-29145"
  }, {
    "type" : "WEB",
    "url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-29145"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-08-30T19:35:52Z",
    "nvd_published_at" : "2022-05-10T21:15:00Z"
  }
}