CVE-2023-29337 NuGet Client Remote Code Execution Vulnerability
A race condition in the NuGet client allows attackers to execute arbitrary code during package installation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-29337?
CVE-2023-29337 is a high-severity vulnerability in Microsoft NuGet 5.11.4, published on 14 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
NuGet Client Remote Code Execution Vulnerability
Weakness: CWE-367
Which versions are affected by CVE-2023-29337?
40 open source packages ship an affected version, including NuGet.CommandLine, Microsoft.Build.NuGetSdkResolver and NuGet.Commands. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
NuGet.CommandLine NuGet | From 4.6.0 | 5.11.5 |
NuGet.CommandLine NuGet | From 4.6.0 | 5.11.5 |
NuGet.CommandLine NuGet | From 6.0.0 | 6.0.5 |
NuGet.CommandLine NuGet | From 6.0.0 | 6.0.5 |
NuGet.CommandLine NuGet | From 6.2.0 | 6.2.4 |
NuGet.CommandLine NuGet | From 6.2.0 | 6.2.4 |
34 more packages
NuGet.CommandLine NuGet | From 6.3.0 | 6.3.3 |
NuGet.CommandLine NuGet | From 6.3.0 | 6.3.3 |
NuGet.CommandLine NuGet | From 6.4.0 | 6.4.2 |
NuGet.CommandLine NuGet | From 6.4.0 | 6.4.2 |
NuGet.CommandLine NuGet | From 6.5.0 | 6.5.1 |
NuGet.CommandLine NuGet | From 6.5.0 | 6.5.1 |
NuGet.CommandLine NuGet | From 6.6.0 | 6.6.1 |
NuGet.CommandLine NuGet | From 6.6.0 | 6.6.1 |
Microsoft.Build.NuGetSdkResolver NuGet | All versions | None |
Microsoft.Build.NuGetSdkResolver NuGet | All versions | None |
NuGet.Commands NuGet | From 4.6.0 | 5.11.5 |
NuGet.Commands NuGet | From 4.6.0 | 5.11.5 |
NuGet.Commands NuGet | From 6.0.0 | 6.0.5 |
NuGet.Commands NuGet | From 6.0.0 | 6.0.5 |
NuGet.Commands NuGet | From 6.2.0 | 6.2.4 |
NuGet.Commands NuGet | From 6.2.0 | 6.2.4 |
NuGet.Commands NuGet | From 6.3.0 | 6.3.3 |
NuGet.Commands NuGet | From 6.3.0 | 6.3.3 |
NuGet.Commands NuGet | From 6.4.0 | 6.4.2 |
NuGet.Commands NuGet | From 6.4.0 | 6.4.2 |
NuGet.Commands NuGet | From 6.5.0 | 6.5.1 |
NuGet.Commands NuGet | From 6.5.0 | 6.5.1 |
NuGet.Commands NuGet | From 6.6.0 | 6.6.1 |
NuGet.Commands NuGet | From 6.6.0 | 6.6.1 |
NuGet.Common NuGet | From 4.6.0 | 5.11.5 |
NuGet.Common NuGet | From 4.6.0 | 5.11.5 |
NuGet.Common NuGet | From 6.0.0 | 6.0.5 |
NuGet.Common NuGet | From 6.0.0 | 6.0.5 |
NuGet.Common NuGet | From 6.2.0 | 6.2.4 |
NuGet.Common NuGet | From 6.2.0 | 6.2.4 |
NuGet.Common NuGet | From 6.3.0 | 6.3.3 |
NuGet.Common NuGet | From 6.3.0 | 6.3.3 |
NuGet.Common NuGet | From 6.4.0 | 6.4.2 |
NuGet.Common NuGet | From 6.4.0 | 6.4.2 |
Products include Microsoft Nuget.
How do I fix CVE-2023-29337?
Upgrade NuGet.CommandLine to a fixed version for your release line: 5.11.5, 6.0.5, 6.2.4 or 6.3.3.
Is CVE-2023-29337 being exploited?
There is no known exploitation of CVE-2023-29337 in the wild and no public exploit code.
Other vulnerabilities in Microsoft NuGet 5.11.4
Sources
Also known as CLEANSTART-2025-EH90452, DEBIAN-CVE-2023-29337, GHSA-6qmf-mmc7-6c2p, UBUNTU-CVE-2023-29337.