CVE-2022-29145: .NET and Visual Studio Denial of Service Vulnerability

Published May 10, 2022
·
Updated

.NET and Visual Studio Denial of Service Vulnerability

Other sources

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

Affected Software

49 affected componentsFixes available
Microsoft .NET 6.0
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-arm>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-arm>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-arm>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-arm64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-arm64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-arm64>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.win-arm>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.win-arm>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.win-arm>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.win-arm64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.win-arm64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.win-arm64>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm64>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-x64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-x64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.linux-musl-x64>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.osx-x64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.osx-x64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.osx-x64>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.win-x86>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.win-x86>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.win-x86>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.linux-x64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.linux-x64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.linux-x64>=3.0.0<3.1.25
3.1.25
nuget/Microsoft.AspNetCore.App.Runtime.win-x64>=6.0.0<6.0.5
6.0.5
nuget/Microsoft.AspNetCore.App.Runtime.win-x64>=5.0.0<5.0.17
5.0.17
nuget/Microsoft.AspNetCore.App.Runtime.win-x64>=3.0.0<3.1.25
3.1.25
Microsoft Visual Studio 2019 (includes 16.0 - 16.8)=16.9
Microsoft Visual Studio 2019 (includes 16.0 - 16.10)=16.11
Microsoft .NET 5.0
Microsoft .NET Core=3.1
Microsoft .NET=5.0
Microsoft .NET=6.0.0
Microsoft .NET Core=3.1
Microsoft Visual Studio 2019>=16.0<16.9.21
Microsoft Visual Studio 2019>=16.10<16.11.14
Microsoft Visual Studio 2022>=17.0<17.1.7
fedoraproject fedora=34
fedoraproject fedora=35
fedoraproject fedora=36
Microsoft Visual Studio 2022=17.0
Microsoft Visual Studio 2022=17.1

Event History

May 10, 2022
CVE Published
via Microsoft·08:00 AM
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
CVE Published
via MITRE·08:34 PM
Data Sourced
via MITRE·08:34 PM
DescriptionSeverity
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 30, 2022
Advisory Published
via GitHub·07:35 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-29145?

CVE-2022-29145 is a denial of service vulnerability in .NET and Visual Studio.

2

Which versions of .NET and Visual Studio are affected by CVE-2022-29145?

CVE-2022-29145 affects Microsoft .NET versions 5.0 and 6.0.0, Microsoft .NET Core version 3.1, Microsoft Visual Studio 2019 versions 16.0 to 16.9.20, 16.10 to 16.11.13, and Microsoft Visual Studio 2022 versions 17.0 to 17.1.6.

3

What is the severity of CVE-2022-29145?

CVE-2022-29145 has a severity score of 7.5 (high).

4

How can I fix CVE-2022-29145?

To fix CVE-2022-29145, it is recommended to apply the latest security updates provided by Microsoft or Fedora, depending on the affected software.

5

Where can I find more information about CVE-2022-29145?

You can find more information about CVE-2022-29145 on the following links: [link1](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNXQL7EZORGU4PZCPJ5EPQ4P7IEY3ZZO/), [link2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IBYSBUDJYQ76HK4TULXVIIPCKK2U6WDB/), [link3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W5FPEQ6BTYRGTS6IYCDTZW6YF5HLQ3BY/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203