NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
.NET
.NET NuGet
Not in CISA KEV
HIGH severity

CVE-2023-29337 — Microsoft.Build.NuGetSdkR…

HIGHFix: NuGet/NuGet.Client@7fe6b81

CVE-2023-29337 is a high-severity (CVSS 7.1) CWE-367 vulnerability in Microsoft.Build.NuGetSdkResolver. A fix is available for Microsoft.Build.NuGetSdkResolver — see the affected versions and patch details below.

NuGet Client Remote Code Execution Vulnerability

Also known asGHSA-6qmf-mmc7-6c2p
Published
Updated
Affected
38 pkgs
Patched
35 / 38
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-29337.

EPSS Exploitation Probability

via FIRST.org ↗
1.1%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs67th percentile — riskier than 67% of all scored CVEsHighest risk
0.00%0.55%1.10%1.65%0.3%1.1%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

38 pkgs affected
.NETMicrosoft.Build.NuGetSdkResolver.NETNuGet.PackageManagement.NETNuGet.PackageManagement.NETNuGet.PackageManagement.NETNuGet.PackageManagement.NETNuGet.PackageManagement.NETNuGet.PackageManagement.NETMicrosoft.Build.NuGetSdkResolver+30 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

Description

Description

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET and NuGet on Linux. 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 7.0 and NuGet(nuget.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement) where a potential race condition that can lead to a symlink attack on Linux. Non-Linux platforms are not affected.

Affected software

This issue only affects Linux systems.

NuGet & NuGet Packages

  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 6.6.0 version or earlier.
  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 6.5.0 version or earlier.
  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 6.4.1 version or earlier.
  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 6.3.2 version or earlier.
  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 6.2.3 version or earlier.
  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 6.0.4 version or earlier.
  • Any NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement 5.11.4

.NET SDK(s)

  • Any .NET SDK 7.0.106 or earlier, or 7.0.303 or earlier
  • Any .NET SDK 6.0.117 or earlier, or 6.0.312 or earlier, or 6.0.409 or earlier.

Patches

To fix the issue, please install the latest version of .NET 6.0 or .NET 7.0 and NuGet (NuGet.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, NuGet.PackageManagement versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.

Other details

Announcement for this issue can be found at https://github.com/NuGet/Announcements/issues/69

MSRC details for this can be found at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29337

Affected Packages

38 total 35 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetMicrosoft.Build.NuGetSdkResolverall versionsNo fix
.NETNuGetNuGet.PackageManagement≥ 6.0.0&&< 6.0.56.0.5dotnet add package NuGet.PackageManagement --version 6.0.5
.NETNuGetNuGet.PackageManagement≥ 6.2.0&&< 6.2.46.2.4dotnet add package NuGet.PackageManagement --version 6.2.4
.NETNuGetNuGet.PackageManagement≥ 6.3.0&&< 6.3.36.3.3dotnet add package NuGet.PackageManagement --version 6.3.3
.NETNuGetNuGet.PackageManagement≥ 6.4.0&&< 6.4.26.4.2dotnet add package NuGet.PackageManagement --version 6.4.2
.NETNuGetNuGet.PackageManagement≥ 6.5.0&&< 6.5.16.5.1dotnet add package NuGet.PackageManagement --version 6.5.1

Affected Products

1 product · 6 configurations
Application
nugetmicrosoft
6 versions
6.0.46.2.36.3.26.4.16.5.06.6.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.Build.NuGetSdkResolver, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    A fix is available for CVE-2023-29337; check the affected-versions list above or the advisory for the patched release of Microsoft.Build.NuGetSdkResolver, then make sure no transitive dependency still pins the vulnerable range.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant
ProductFixed inAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet60-dotnet-0:6.0.118-1.el7_9RHSA-2023:3580
Red Hat Enterprise Linux 8dotnet6.0-0:6.0.118-1.el8_8RHSA-2023:3582
Red Hat Enterprise Linux 8dotnet7.0-0:7.0.107-1.el8_8RHSA-2023:3593
Red Hat Enterprise Linux 8.6 Extended Update Supportdotnet6.0-0:6.0.120-1.el8_6RHSA-2023:4448
Red Hat Enterprise Linux 9dotnet6.0-0:6.0.118-1.el9_2RHSA-2023:3581
Red Hat Enterprise Linux 9dotnet7.0-0:7.0.107-1.el9_2RHSA-2023:3592
Red Hat Enterprise Linux 9.0 Extended Update Supportdotnet6.0-0:6.0.120-1.el9_0RHSA-2023:4449

Frequently Asked Questions

### Description Microsoft is releasing this security advisory to provide information about a vulnerability in .NET and NuGet on Linux. 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 7.0 and NuGet(nuget.exe, NuGet.Protocol, NuGet.Common, NuGet.CommandLine, NuGet.Commands, Microsoft.Build.NuGetSdkResolver, NuGet.PackageManagement) where a potential race condition that can lead to a symlink attack on Linux. Non-Linux platforms are not affected. ### Affected software This issue onl
O3 Security · Impact-Aware SCA

Is CVE-2023-29337 in your dependencies?

Find it across NuGet, including transitive dependencies.

CVE-2023-29337: Microsoft.Build — Fixed in 6.0.5