Skip to content
OpenAdvisories

Description

NuGet Client Remote Code Execution Vulnerability

Affected products

VendorProductAffectedFixed
Microsoft NuGet 6.2.3 6.0.0 – < 6.2.4 6.2.4
Microsoft NuGet 6.4.1 6.0.0 – < 6.4.2 6.4.2
Microsoft NuGet 6.5.0 6.0.0 – < 6.5.1 6.5.1
Microsoft NuGet 6.3.2 6.0.0 – < 6.3.3 6.3.3
Microsoft NuGet 6.0.4 6.0.0 – < 6.0.5 6.0.5
Microsoft NuGet 6.6.0 6.0.0 – < 6.6.0 6.6.0
Microsoft NuGet 5.11.4 5.0.0 – < 5.11.5 5.11.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 nuget No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS dotnet6 6.0.118-0ubuntu1~22.04.1 USN-6161-1
Ubuntu 22.04 LTS dotnet7 7.0.107-0ubuntu1~22.04.1 USN-6161-1
ReleasePackageFixed inAdvisory
RHEL 9 dotnet-host +6 7.0.7-1.el9_2 RHSA-2023:3592
RHEL 9 dotnet-hostfxr-6.0 +5 6.0.18-1.el9_2 RHSA-2023:3581
RHEL 9 dotnet6.0 +3 6.0.118-1.el9_2 RHSA-2023:3581
RHEL 9 dotnet7.0 +4 7.0.107-1.el9_2 RHSA-2023:3592
RHEL 8 dotnet +5 7.0.107-1.el8_8 RHSA-2023:3593
RHEL 8 dotnet-host +6 7.0.7-1.el8_8 RHSA-2023:3593
RHEL 8 dotnet-hostfxr-6.0 +5 6.0.18-1.el8_8 RHSA-2023:3582
RHEL 8 dotnet6.0 +3 6.0.118-1.el8_8 RHSA-2023:3582
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Dotnet 6 rh-dotnet60-dotnet +4 6.0.118-1.el7_9 RHSA-2023:3580
Red Hat Rhel Dotnet 6 rh-dotnet60-dotnet-host +6 6.0.18-1.el7_9 RHSA-2023:3580
RHEL 9.0 EUS dotnet-host +6 6.0.20-1.el9_0 RHSA-2023:4449
RHEL 9.0 EUS dotnet6.0 +4 6.0.120-1.el9_0 RHSA-2023:4449
RHEL 8.6 EUS dotnet +5 6.0.120-1.el8_6 RHSA-2023:4448
RHEL 8.6 EUS dotnet-host +6 6.0.20-1.el8_6 RHSA-2023:4448

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 dotnet-host +6 7.0.7-1.el9_2 ALSA-2023:3592
AlmaLinux 9 dotnet-hostfxr-6.0 +5 6.0.18-1.el9_2 ALSA-2023:3581
AlmaLinux 9 dotnet-sdk-6.0 +2 6.0.118-1.el9_2 ALSA-2023:3581
AlmaLinux 9 dotnet-sdk-7.0 +3 7.0.107-1.el9_2 ALSA-2023:3592
AlmaLinux 8 dotnet +4 7.0.107-1.el8_8 ALSA-2023:3593
AlmaLinux 8 dotnet-host +6 7.0.7-1.el8_8 ALSA-2023:3593
AlmaLinux 8 dotnet-hostfxr-6.0 +5 6.0.18-1.el8_8 ALSA-2023:3582
AlmaLinux 8 dotnet-sdk-6.0 +2 6.0.118-1.el8_8 ALSA-2023:3582

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 dotnet6.0 6.0.118-1.el8_8 RLSA-2023:3582
Rocky Linux 8 dotnet7.0 7.0.107-1.el8_8 RLSA-2023:3593
ReleasePackageFixed inAdvisory
Alpine v3.20 dotnet6-build 6.0.118-r0 —
Alpine v3.20 dotnet6-runtime 6.0.18-r0 —
Alpine v3.19 dotnet6-build 6.0.118-r0 —
Alpine v3.19 dotnet6-runtime 6.0.18-r0 —
Alpine v3.19 dotnet7-build 7.0.107-r0 —
Alpine v3.19 dotnet7-runtime 7.0.7-r0 —
Alpine v3.18 dotnet6-build 6.0.118-r0 —
Alpine v3.18 dotnet6-runtime 6.0.18-r0 —
Alpine v3.18 dotnet7-build 7.0.107-r0 —
Alpine v3.18 dotnet7-runtime 7.0.7-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 dotnet +4 6.0.118-1.amzn2023.0.1 ALAS2023-2023-242
Amazon Linux 2023 dotnet-host +6 6.0.18-1.amzn2023.0.1 ALAS2023-2023-242

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 dotnet-host +6 7.0.7-1.0.1.el9_2 ELSA-2023-3592
Oracle Linux 9 dotnet-hostfxr-6.0 +5 6.0.18-1.0.1.el9_2 ELSA-2023-3581
Oracle Linux 9 dotnet-sdk-6.0 +2 6.0.118-1.0.1.el9_2 ELSA-2023-3581
Oracle Linux 9 dotnet-sdk-7.0 +3 7.0.107-1.0.1.el9_2 ELSA-2023-3592
Oracle Linux 8 dotnet +4 7.0.107-1.0.1.el8_8 ELSA-2023-3593
Oracle Linux 8 dotnet-host +6 7.0.7-1.0.1.el8_8 ELSA-2023-3593
Oracle Linux 8 dotnet-hostfxr-6.0 +5 6.0.18-1.0.1.el8_8 ELSA-2023-3582
Oracle Linux 8 dotnet-sdk-6.0 +2 6.0.118-1.0.1.el8_8 ELSA-2023-3582

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet Microsoft.Build.NuGetSdkResolver 5.9.0-rc.7122 — GHSA-6qmf-mmc7-6c2p
NuGet Microsoft.Build.NuGetSdkResolver 5.10.0-rc.7240 — GHSA-6qmf-mmc7-6c2p
NuGet Microsoft.Build.NuGetSdkResolver 5.11.0-rc.10 — GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 6.0.0, < 6.0.5 6.0.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 6.2.0, < 6.2.4 6.2.4 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 6.3.0, < 6.3.3 6.3.3 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 6.4.0, < 6.4.2 6.4.2 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 6.5.0, < 6.5.1 6.5.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 6.6.0, < 6.6.1 6.6.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.CommandLine >= 4.6.0, < 5.11.5 5.11.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 6.0.0, < 6.0.5 6.0.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 6.2.0, < 6.2.4 6.2.4 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 6.3.0, < 6.3.3 6.3.3 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 6.4.0, < 6.4.2 6.4.2 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 6.5.0, < 6.5.1 6.5.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 6.6.0, < 6.6.1 6.6.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Commands >= 4.6.0, < 5.11.5 5.11.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 6.0.0, < 6.0.5 6.0.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 6.2.0, < 6.2.4 6.2.4 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 6.3.0, < 6.3.3 6.3.3 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 6.4.0, < 6.4.2 6.4.2 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 6.5.0, < 6.5.1 6.5.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 6.6.0, < 6.6.1 6.6.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Common >= 4.6.0, < 5.11.5 5.11.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 6.0.0, < 6.0.5 6.0.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 6.2.0, < 6.2.4 6.2.4 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 6.3.0, < 6.3.3 6.3.3 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 6.4.0, < 6.4.2 6.4.2 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 6.5.0, < 6.5.1 6.5.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 6.6.0, < 6.6.1 6.6.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.PackageManagement >= 4.6.0, < 5.11.5 5.11.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 6.0.0, < 6.0.5 6.0.5 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 6.2.0, < 6.2.4 6.2.4 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 6.3.0, < 6.3.3 6.3.3 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 6.4.0, < 6.4.2 6.4.2 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 6.5.0, < 6.5.1 6.5.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 6.6.0, < 6.6.1 6.6.1 GHSA-6qmf-mmc7-6c2p
NuGet NuGet.Protocol >= 4.7.0, < 5.11.5 5.11.5 GHSA-6qmf-mmc7-6c2p

Advisories 21

References