CVE-2023-29331 .NET, .NET Framework, and Visual Studio Denial of Service Vulnerability

High 7.5 Published Updated

Attackers can cause a denial of service in .NET and Visual Studio applications by exploiting a resource exhaustion flaw.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-29331?

CVE-2023-29331 is a high-severity denial of service vulnerability in Microsoft .Net, published on 14 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

.NET, .NET Framework, and Visual Studio Denial of Service Vulnerability

Weakness: CWE-400

Which versions are affected by CVE-2023-29331?

40 open source packages ship an affected version, including Microsoft.NETCore.App.Runtime.linux-arm, dotnet and dotnet-sdk. It affects 2 products.

PackageAffectedFixed in
Microsoft.NETCore.App.Runtime.linux-arm NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-arm NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-arm NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-arm NuGetFrom 7.0.07.0.7
dotnet BitnamiFrom 6.0.06.0.1, 7.0.1
dotnet-sdk BitnamiFrom 6.0.06.0.1, 7.0.1
34 more packages
Microsoft.NETCore.App.Runtime.linux-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-arm64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-arm64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-musl-arm NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-musl-arm NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-musl-arm NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-musl-arm NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-musl-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-musl-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-musl-arm64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-musl-arm64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-musl-x64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-musl-x64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-musl-x64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-musl-x64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-x64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-x64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.linux-x64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.linux-x64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.osx-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.osx-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.osx-arm64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.osx-arm64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.osx-x64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.osx-x64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.osx-x64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.osx-x64 NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.win-arm NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.win-arm NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.win-arm NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.win-arm NuGetFrom 7.0.07.0.7
Microsoft.NETCore.App.Runtime.win-arm64 NuGetFrom 6.0.06.0.18
Microsoft.NETCore.App.Runtime.win-arm64 NuGetFrom 6.0.06.0.18

Products include Microsoft .Net, Microsoft .Net Framework.

How do I fix CVE-2023-29331?

Upgrade Microsoft.NETCore.App.Runtime.linux-arm to a fixed version for your release line: 6.0.18 or 7.0.7.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-29331 being exploited?

There is no known exploitation of CVE-2023-29331 in the wild and no public exploit code.

All Microsoft .Net vulnerabilities

Sources

Also known as BIT-dotnet-2023-29331, BIT-dotnet-sdk-2023-29331, CLEANSTART-2025-IL60395, GHSA-555c-2p6r-68mm, UBUNTU-CVE-2023-29331.

Is CVE-2023-29331 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free