Skip to content
Fencer Vulns
high 7.1

CVE-2023-29337 json

NuGet Client Remote Code Execution Vulnerability

published 2023-06-14 3 y ago modified 2026-09-10 1 mo ago also GHSA-6qmf-mmc7-6c2p , EUVD-2023-1715

cvss
7.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 67%
public exploits
0
none known

Summary

NuGet Client Remote Code Execution Vulnerability

Patch / fix

  • nuget NuGet.PackageManagement 5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1
  • nuget NuGet.Commands 5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1
  • nuget NuGet.CommandLine 5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1
  • nuget NuGet.Common 5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1
  • nuget NuGet.Protocol 5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1
  • Microsoft NuGet 6.2.3 6.2.4
  • Microsoft NuGet 6.4.1 6.4.2
  • Microsoft NuGet 6.5.0 6.5.1
  • Microsoft NuGet 6.3.2 6.3.3
  • Microsoft NuGet 6.0.4 6.0.5
  • Microsoft NuGet 6.6.0 6.6.0
  • Microsoft NuGet 5.11.4 5.11.5
  • dotnet6 Ubuntu 22.04 LTS 6.0.118-0ubuntu1~22.04.1
  • dotnet7 Ubuntu 22.04 LTS 7.0.107-0ubuntu1~22.04.1

ubuntu advisories UBUNTU-CVE-2023-29337

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • dotnet RHEL 8 7.0.107-1.el8_8
  • dotnet7.0 RHEL 8 7.0.107-1.el8_8
  • dotnet-host RHEL 8 7.0.7-1.el8_8
  • dotnet-sdk-7.0 RHEL 8 7.0.107-1.el8_8
  • dotnet-hostfxr-7.0 RHEL 8 7.0.7-1.el8_8
  • dotnet-runtime-7.0 RHEL 8 7.0.7-1.el8_8
  • dotnet-templates-7.0 RHEL 8 7.0.107-1.el8_8
  • aspnetcore-runtime-7.0 RHEL 8 7.0.7-1.el8_8

red hat advisories RHSA-2023:4449RHSA-2023:4448RHSA-2023:3593RHSA-2023:3592RHSA-2023:3582RHSA-2023:3580

  • dotnet-sdk-6.0 AlmaLinux 9 6.0.118-1.el9_2
  • dotnet-hostfxr-6.0 AlmaLinux 9 6.0.18-1.el9_2
  • dotnet-runtime-6.0 AlmaLinux 9 6.0.18-1.el9_2
  • dotnet-templates-6.0 AlmaLinux 9 6.0.118-1.el9_2
  • aspnetcore-runtime-6.0 AlmaLinux 9 6.0.18-1.el9_2
  • dotnet-apphost-pack-6.0 AlmaLinux 9 6.0.18-1.el9_2
  • dotnet-targeting-pack-6.0 AlmaLinux 9 6.0.18-1.el9_2
  • aspnetcore-targeting-pack-6.0 AlmaLinux 9 6.0.18-1.el9_2

almalinux advisories ALSA-2023:3581ALSA-2023:3582ALSA-2023:3592ALSA-2023:3593

  • dotnet6.0 Rocky Linux 8 6.0.118-1.el8_8
  • dotnet7.0 Rocky Linux 8 7.0.107-1.el8_8

rocky linux advisories RLSA-2023:3582RLSA-2023:3593

  • dotnet6-build Alpine 3.20, Alpine 3.19, Alpine 3.18 6.0.118-r0
  • dotnet7-build Alpine 3.19, Alpine 3.18 7.0.107-r0
  • dotnet6-runtime Alpine 3.20, Alpine 3.19, Alpine 3.18 6.0.18-r0
  • dotnet7-runtime Alpine 3.19, Alpine 3.18 7.0.7-r0

alpine advisories ALPINE-CVE-2023-29337

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-29337 updated cvss 7.1

dotnet: vulnerability exists in NuGet where a potential race condition can lead to a symlink attack

  • Red Hat .NET Core on Red Hat Enterprise Linux ComputeNode (v. 7) rh-dotnet60-dotnet 6.0.118-1.el7_9, rh-dotnet60-dotnet-host 6.0.18-1.el7_9, rh-dotnet60-dotnet-sdk-6.0 6.0.118-1.el7_9, rh-dotnet60-dotnet-hostfxr-6.0 6.0.18-1.el7_9, rh-dotnet60-dotnet-runtime-6.0 6.0.18-1.el7_9, rh-dotnet60-dotnet-templates-6.0 6.0.118-1.el7_9, +6 more Red Hat .NET Core on Red Hat Enterprise Linux Server (v. 7) rh-dotnet60-dotnet 6.0.118-1.el7_9, rh-dotnet60-dotnet-host 6.0.18-1.el7_9, rh-dotnet60-dotnet-sdk-6.0 6.0.118-1.el7_9, rh-dotnet60-dotnet-hostfxr-6.0 6.0.18-1.el7_9, rh-dotnet60-dotnet-runtime-6.0 6.0.18-1.el7_9, rh-dotnet60-dotnet-templates-6.0 6.0.118-1.el7_9, +6 more Red Hat .NET Core on Red Hat Enterprise Linux Workstation (v. 7) rh-dotnet60-dotnet 6.0.118-1.el7_9, rh-dotnet60-dotnet-host 6.0.18-1.el7_9, rh-dotnet60-dotnet-sdk-6.0 6.0.118-1.el7_9, rh-dotnet60-dotnet-hostfxr-6.0 6.0.18-1.el7_9, rh-dotnet60-dotnet-runtime-6.0 6.0.18-1.el7_9, rh-dotnet60-dotnet-templates-6.0 6.0.118-1.el7_9, +6 more
    fixed: vendor fix RHSA-2023:3580
  • Red Hat CodeReady Linux Builder EUS (v.8.6) dotnet 6.0.120-1.el8_6, dotnet6.0 6.0.120-1.el8_6, dotnet-host 6.0.20-1.el8_6, dotnet-sdk-6.0 6.0.120-1.el8_6, dotnet-hostfxr-6.0 6.0.20-1.el8_6, dotnet-runtime-6.0 6.0.20-1.el8_6, +7 more
    fixed: vendor fix RHSA-2023:4448
  • Red Hat CodeReady Linux Builder EUS (v.9.0) dotnet6.0 6.0.120-1.el9_0, dotnet-host 6.0.20-1.el9_0, dotnet-sdk-6.0 6.0.120-1.el9_0, dotnet-hostfxr-6.0 6.0.20-1.el9_0, dotnet-runtime-6.0 6.0.20-1.el9_0, dotnet-templates-6.0 6.0.120-1.el9_0, +6 more
    fixed: vendor fix RHSA-2023:4449
  • Red Hat Enterprise Linux AppStream (v. 8) dotnet 7.0.107-1.el8_8, dotnet-host 7.0.7-1.el8_8, dotnet6.0 6.0.118-1.el8_8, dotnet7.0 7.0.107-1.el8_8, dotnet-sdk-6.0 6.0.118-1.el8_8, dotnet-sdk-7.0 7.0.107-1.el8_8, +17 more
    fixed: vendor fix RHSA-2023:3582
  • Red Hat Enterprise Linux AppStream (v. 9) dotnet-host 7.0.7-1.el9_2, dotnet6.0 6.0.118-1.el9_2, dotnet7.0 7.0.107-1.el9_2, dotnet-sdk-6.0 6.0.118-1.el9_2, dotnet-sdk-7.0 7.0.107-1.el9_2, dotnet-hostfxr-7.0 7.0.7-1.el9_2, +16 more
    fixed: vendor fix RHSA-2023:3581
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) dotnet 6.0.120-1.el8_6, dotnet6.0 6.0.120-1.el8_6, dotnet-host 6.0.20-1.el8_6, dotnet-sdk-6.0 6.0.120-1.el8_6, dotnet-hostfxr-6.0 6.0.20-1.el8_6, dotnet-runtime-6.0 6.0.20-1.el8_6, +7 more
    fixed: vendor fix RHSA-2023:4448
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) dotnet6.0 6.0.120-1.el9_0, dotnet-host 6.0.20-1.el9_0, dotnet-sdk-6.0 6.0.120-1.el9_0, dotnet-hostfxr-6.0 6.0.20-1.el9_0, dotnet-runtime-6.0 6.0.20-1.el9_0, dotnet-templates-6.0 6.0.120-1.el9_0, +6 more
    fixed: vendor fix RHSA-2023:4449
  • Red Hat Enterprise Linux CRB (v. 8) dotnet 7.0.107-1.el8_8, dotnet-host 7.0.7-1.el8_8, dotnet6.0 6.0.118-1.el8_8, dotnet7.0 7.0.107-1.el8_8, dotnet-sdk-6.0 6.0.118-1.el8_8, dotnet-sdk-7.0 7.0.107-1.el8_8, +17 more
    fixed: vendor fix RHSA-2023:3582
show 2 more
  • Red Hat Enterprise Linux CRB (v. 9) dotnet-host 7.0.7-1.el9_2, dotnet6.0 6.0.118-1.el9_2, dotnet7.0 7.0.107-1.el9_2, dotnet-sdk-6.0 6.0.118-1.el9_2, dotnet-sdk-7.0 7.0.107-1.el9_2, dotnet-hostfxr-7.0 7.0.7-1.el9_2, +16 more
    fixed: vendor fix RHSA-2023:3581
  • Red Hat .NET Core 3.1 on Red Hat Enterprise Linux rh-dotnet31-dotnet, rh-dotnet31-dotnet-host, rh-dotnet31-dotnet-sdk-3.1, rh-dotnet31-dotnet-hostfxr-3.1, rh-dotnet31-dotnet-runtime-3.1, rh-dotnet31-dotnet-templates-3.1, +6 more Red Hat .NET Core 5.0 on Red Hat Enterprise Linux rh-dotnet50-dotnet, rh-dotnet50-dotnet-host, rh-dotnet50-dotnet-sdk-5.0, rh-dotnet50-dotnet-hostfxr-5.0, rh-dotnet50-dotnet-runtime-5.0, rh-dotnet50-dotnet-templates-5.0, +6 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

1.15% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
CNA 3.1 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
GitHub 3.1 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
nuget Microsoft.Build.NuGetSdkResolver
1 listed version
no fix listed
nuget NuGet.PackageManagement
>=6.0.0, <6.0.5
>=6.2.0, <6.2.4
>=6.3.0, <6.3.3
>=6.4.0, <6.4.2
>=6.5.0, <6.5.1
>=6.6.0, <6.6.1
>=4.6.0, <5.11.5
6.0.5
6.2.4
6.3.3
6.4.2
6.5.1
6.6.1
5.11.5
nuget NuGet.Commands
>=6.0.0, <6.0.5
>=6.2.0, <6.2.4
>=6.3.0, <6.3.3
>=6.4.0, <6.4.2
>=6.5.0, <6.5.1
>=6.6.0, <6.6.1
>=4.6.0, <5.11.5
6.0.5
6.2.4
6.3.3
6.4.2
6.5.1
6.6.1
5.11.5
nuget NuGet.CommandLine
>=6.0.0, <6.0.5
>=6.2.0, <6.2.4
>=6.3.0, <6.3.3
>=6.4.0, <6.4.2
>=6.5.0, <6.5.1
>=6.6.0, <6.6.1
>=4.6.0, <5.11.5
6.0.5
6.2.4
6.3.3
6.4.2
6.5.1
6.6.1
5.11.5
nuget NuGet.Common
>=6.0.0, <6.0.5
>=6.2.0, <6.2.4
>=6.3.0, <6.3.3
>=6.4.0, <6.4.2
>=6.5.0, <6.5.1
>=6.6.0, <6.6.1
>=4.6.0, <5.11.5
6.0.5
6.2.4
6.3.3
6.4.2
6.5.1
6.6.1
5.11.5
nuget NuGet.Protocol
>=6.0.0, <6.0.5
>=6.2.0, <6.2.4
>=6.3.0, <6.3.3
>=6.4.0, <6.4.2
>=6.5.0, <6.5.1
>=6.6.0, <6.6.1
>=4.7.0, <5.11.5
6.0.5
6.2.4
6.3.3
6.4.2
6.5.1
6.6.1
5.11.5

Affected products

  • Microsoft NuGet 6.2.3
  • Microsoft NuGet 6.4.1
  • Microsoft NuGet 6.5.0
  • Microsoft NuGet 6.3.2
  • Microsoft NuGet 6.0.4
  • Microsoft NuGet 6.6.0
  • Microsoft NuGet 5.11.4

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.