CVE-2023-29331
.NET, .NET Framework, and Visual Studio Denial of Service Vulnerability
Also known as BIT-dotnet-2023-29331, BIT-dotnet-sdk-2023-29331, GHSA-555c-2p6r-68mm
Mitigation
- Upgrade Microsoft.Windows.Compatibility to one of 7.0.3, 6.0.6 (or later in the same release line).
- Upgrade System.Security.Cryptography.Pkcs to one of 7.0.2, 6.0.3 (or later in the same release line).
- Upgrade Microsoft.NETCore.App.Runtime.linux-arm to one of 7.0.7, 6.0.18 (or later in the same release line).
- Upgrade Microsoft.NETCore.App.Runtime.linux-arm64 to one of 6.0.18, 7.0.7 (or later in the same release line).
- Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm to one of 7.0.7, 6.0.18 (or later in the same release line).
- Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm64 to one of 7.0.7, 6.0.18 (or later in the same release line).
- Upgrade Microsoft.NETCore.App.Runtime.linux-musl-x64 to one of 6.0.18, 7.0.7 (or later in the same release line).
- Upgrade Microsoft.NETCore.App.Runtime.linux-x64 to one of 6.0.18, 7.0.7 (or later in the same release line).
Who should check
- Projects that depend on NuGet package Microsoft.Windows.Compatibility (>= 7.0.0, < 7.0.3)
- Projects that depend on NuGet package System.Security.Cryptography.Pkcs (>= 7.0.0, < 7.0.2)
- Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-arm (>= 7.0.0, < 7.0.7)
- Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-arm64 (>= 6.0.0, < 6.0.18)
- Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-musl-arm (>= 7.0.0, < 7.0.7)
- Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-musl-arm64 (>= 7.0.0, < 7.0.7)
- Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-musl-x64 (>= 6.0.0, < 6.0.18)
- Projects that depend on NuGet package Microsoft.NETCore.App.Runtime.linux-x64 (>= 6.0.0, < 6.0.18)
Vulnerability facts
- Affected
- Microsoft.Windows.Compatibility >= 7.0.0, < 7.0.3; System.Security.Cryptography.Pkcs >= 7.0.0, < 7.0.2; Microsoft.NETCore.App.Runtime.linux-arm >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.linux-musl-arm >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.linux-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.osx-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.osx-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-arm >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-x86 >= 7.0.0, < 7.0.7
- Fixed in
- 7.0.3, 6.0.6, 7.0.2, 6.0.3, 7.0.7, 6.0.18
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- E: P
- RL: O
- RC: C
- EPSS
- 2.63% chance of exploitation in 30 days (percentile 86, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
.NET, .NET Framework, and Visual Studio Denial of Service Vulnerability
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| NuGet Microsoft.Windows.Compatibility | >= 7.0.0, < 7.0.3 | 7.0.3, 6.0.6 | osv |
| NuGet System.Security.Cryptography.Pkcs | >= 7.0.0, < 7.0.2 | 7.0.2, 6.0.3 | osv |
| NuGet Microsoft.NETCore.App.Runtime.linux-arm | >= 7.0.0, < 7.0.7 | 7.0.7, 6.0.18 | osv |
| NuGet Microsoft.NETCore.App.Runtime.linux-arm64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm | >= 7.0.0, < 7.0.7 | 7.0.7, 6.0.18 | osv |
| NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64 | >= 7.0.0, < 7.0.7 | 7.0.7, 6.0.18 | osv |
| NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.linux-x64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.osx-arm64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.osx-x64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.win-arm | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.win-arm64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.win-x64 | >= 6.0.0, < 6.0.18 | 6.0.18, 7.0.7 | osv |
| NuGet Microsoft.NETCore.App.Runtime.win-x86 | >= 7.0.0, < 7.0.7 | 7.0.7, 6.0.18 | osv |
| Microsoft .NET 6.0 | >= 6.0.0, < 6.0.18 | — | cvelist |
| Microsoft .NET 7.0 | >= 7.0.0, < 7.0.7 | — | cvelist |
| Microsoft Visual Studio 2022 version 17.0 | >= 17.0.0, < 17.0.22 | — | cvelist |
| Microsoft Visual Studio 2022 version 17.2 | >= 17.2.0, < 17.2.16 | — | cvelist |
| Microsoft Visual Studio 2022 version 17.4 | >= 17.4.0, < 17.4.8 | — | cvelist |
| Microsoft Visual Studio 2022 version 17.6 | >= 17.6.0, < 17.6.3 | — | cvelist |
| Microsoft PowerShell 7.2 | >= 7.2.0, < 7.2.12 | — | cvelist |
| Microsoft PowerShell 7.3 | >= 7.3.0, < 7.3.5 | — | cvelist |
| Microsoft .NET Framework 4.8 | >= 4.8.0, < 4.8.4644.0 | — | cvelist |
| Microsoft .NET Framework 3.5 AND 4.8 | >= 4.8.0, < 4.8.4644.0 | — | cvelist |
| Microsoft .NET Framework 3.5 AND 4.7.2 | >= 4.7.0, < 4.7.4050.0 | — | cvelist |
| Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2 | >= 3.0.0.0, < 10.0.14393.5989 | — | cvelist |
| Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 | >= 4.7.0, < 4.7.04043.0 | — | cvelist |
| Microsoft .NET Framework 3.5 AND 4.8.1 | >= 4.8.1, < 4.8.9166.0 | — | cvelist |
| Microsoft .NET Framework 4.6.2 | >= 4.7.0, < 4.7.04043.0 | — | cvelist |
| Microsoft .NET Framework 3.5 and 4.6.2 | >= 4.7.0, < 10.0.10240.19983 | — | cvelist |
| Microsoft .NET Framework 2.0 Service Pack 2 | >= 2.0.0, < 3.0.6920.8954; 2.0.50727.8970 | — | cvelist |
| Microsoft .NET Framework 3.0 Service Pack 2 | >= 3.0.0, < 3.0.6920.8954; 2.0.50727.8970 | — | cvelist |
| Microsoft .NET Framework 3.5 | >= 3.5.0, < 3.0.6920.8954; 2.0.50727.8970 | — | cvelist |
| Microsoft .NET Framework 3.5.1 | >= 3.5.0, < 3.0.6920.8954; 2.0.50727.8970 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-29331. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-29331.md Affected: Microsoft.Windows.Compatibility >= 7.0.0, < 7.0.3; System.Security.Cryptography.Pkcs >= 7.0.0, < 7.0.2; Microsoft.NETCore.App.Runtime.linux-arm >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.linux-musl-arm >= 7.0.0, < 7.0.7; Microsoft.… Fixed in: 7.0.3, 6.0.6, 7.0.2, 6.0.3, 7.0.7, 6.0.18 Steps: 1. Search this machine and project for Microsoft.Windows.Compatibility (NuGet), System.Security.Cryptography.Pkcs (NuGet), Microsoft.NETCore.App.Runtime.linux-arm (NuGet), Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet), Microsoft.NETCore.App.Runtime.linux-musl-arm (NuGet), Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-29331 being exploited?
There is no confirmed exploitation: CVE-2023-29331 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-29331?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-29331?
Microsoft.Windows.Compatibility >= 7.0.0, < 7.0.3; System.Security.Cryptography.Pkcs >= 7.0.0, < 7.0.2; Microsoft.NETCore.App.Runtime.linux-arm >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.linux-musl-arm >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-musl-arm64 >= 7.0.0, < 7.0.7; Microsoft.NETCore.App.Runtime.linux-musl-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.linux-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.osx-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.osx-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-arm >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-arm64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-x64 >= 6.0.0, < 6.0.18; Microsoft.NETCore.App.Runtime.win-x86 >= 7.0.0, < 7.0.7.
Is there a fix for CVE-2023-29331?
Yes. Fixed in 7.0.3, 6.0.6, 7.0.2, 6.0.3, 7.0.7, 6.0.18. Upgrade Microsoft.Windows.Compatibility to one of 7.0.3, 6.0.6 (or later in the same release line). Upgrade System.Security.Cryptography.Pkcs to one of 7.0.2, 6.0.3 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-arm to one of 7.0.7, 6.0.18 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-arm64 to one of 6.0.18, 7.0.7 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm to one of 7.0.7, 6.0.18 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm64 to one of 7.0.7, 6.0.18 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-musl-x64 to one of 6.0.18, 7.0.7 (or later in the same release line). Upgrade Microsoft.NETCore.App.Runtime.linux-x64 to one of 6.0.18, 7.0.7 (or later in the same release line).
How do I check if I'm affected by CVE-2023-29331?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.