Quick answers
- Is CVE-2022-29145 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-29145 being exploited in the wild.
- How severe is CVE-2022-29145?
- High severity, with a CVSS score of 7.5, published 30 August 2022.
- Which products and versions are affected?
- Microsoft .NET Core 3.1.0 to 3.1.24; Microsoft.AspNetCore.App.Runtime >= 3.0.0, < 3.1.25; >= 5.0.0, < 5.0.17; >= 6.0.0, < 6.0.5; Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet) ECOSYSTEM:introduced=3.0.0,fixed=3.1.25; Microsoft.AspNetCore.App.Runtime.linux-arm64 (NuGet) ECOSYSTEM:introduced=3.0.0,fixed=3.1.25; and 9 more.
- Is there a fix for CVE-2022-29145?
- Yes. Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.linux-musl-arm (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.linux-x64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.osx-x64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.win-arm (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.win-arm64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.win-x64 (NuGet): upgrade to 3.1.25 or later; Microsoft.AspNetCore.App.Runtime.win-x86 (NuGet): upgrade to 3.1.25 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-29145 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2022-29145?
- Check whether you run Microsoft .NET Core, Microsoft.AspNetCore.App.Runtime, Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.linux-musl-arm (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.linux-x64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.linux-x64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.osx-x64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.osx-x64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.win-arm (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.win-arm64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-arm64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.win-x64 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x64 --version 3.1.25 - Microsoft.AspNetCore.App.Runtime.win-x86 (NuGet): upgrade to 3.1.25 or later
dotnet add package Microsoft.AspNetCore.App.Runtime.win-x86 --version 3.1.25
Technical details
A denial of service (DoS) vulnerability exists in the HTML form parsing logic of .NET and ASP.NET Core. An unauthenticated remote attacker can trigger this vulnerability by sending a malicious request containing a specially crafted HTML form. The root cause is an inefficiency or flaw in how the runtime handles form data, leading to resource exhaustion or application hangs. The vulnerability affects .NET Core 3.1, .NET 5.0, and .NET 6.0. Microsoft has released patches in versions 3.1.25, 5.0.17, and 6.0.5 respectively to address the issue.
Affected products
- Microsoft .NET Core 3.1.0 to 3.1.24
- Microsoft .NET 5.0.0 to 5.0.16, 6.0.0 to 6.0.4
- Microsoft Microsoft.AspNetCore.App.Runtime >= 3.0.0, < 3.1.25; >= 5.0.0, < 5.0.17; >= 6.0.0, < 6.0.5
Identifiers
- CVE-2022-29145
- GHSA-fcg8-mg9g-6hc4
Timeline
- 2022-05-10: disclosed
- 2022-05-10: patched
- 2022-05-10: advisory
References
- https://github.com/dotnet/aspnetcore/security/advisories/GHSA-fcg8-mg9g-6hc4
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IBYSBUDJYQ76HK4TULXVIIPCKK2U6WDB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W5FPEQ6BTYRGTS6IYCDTZW6YF5HLQ3BY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO