# CVE-2023-29337: NuGet Client Remote Code Execution Vulnerability

Source: https://junglewise.ai/threats/cve-2023-29337-nuget-client-remote-code-execution-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-14  
License: CC BY 4.0 with a link back

CVE-2023-29337 · Severity: low · CVSS 3.1 · Published 2023-06-14

NuGet Client Remote Code Execution Vulnerability

Technologies: [NuGet.CommandLine (NuGet)](https://junglewise.ai/threats/technologies/nuget-commandline), [NuGet.Commands (NuGet)](https://junglewise.ai/threats/technologies/nuget-commands). Vendors: [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2023-29337 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-29337 being exploited in the wild.

**How severe is CVE-2023-29337?** Low severity, with a CVSS score of 3.1, published 14 June 2023.

**Which products and versions are affected?** NuGet.CommandLine (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5; NuGet.Commands (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5; NuGet.Common (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5; NuGet.PackageManagement (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5; and 1 more.

**Is there a fix for CVE-2023-29337?** Yes. NuGet.CommandLine (NuGet): upgrade to 6.0.5 or later; NuGet.Commands (NuGet): upgrade to 6.0.5 or later; NuGet.Common (NuGet): upgrade to 6.0.5 or later; NuGet.PackageManagement (NuGet): upgrade to 6.0.5 or later; NuGet.Protocol (NuGet): upgrade to 6.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-29337?** Check whether you run Microsoft.Build.NuGetSdkResolver (NuGet), NuGet.CommandLine (NuGet), NuGet.Commands (NuGet) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- NuGet.CommandLine (NuGet): upgrade to 6.0.5 or later

  ```sh
  dotnet add package NuGet.CommandLine --version 6.0.5
  ```

- NuGet.Commands (NuGet): upgrade to 6.0.5 or later

  ```sh
  dotnet add package NuGet.Commands --version 6.0.5
  ```

- NuGet.Common (NuGet): upgrade to 6.0.5 or later

  ```sh
  dotnet add package NuGet.Common --version 6.0.5
  ```

- NuGet.PackageManagement (NuGet): upgrade to 6.0.5 or later

  ```sh
  dotnet add package NuGet.PackageManagement --version 6.0.5
  ```

- NuGet.Protocol (NuGet): upgrade to 6.0.5 or later

  ```sh
  dotnet add package NuGet.Protocol --version 6.0.5
  ```


## Affected products

- Microsoft.Build.NuGetSdkResolver (NuGet)
- NuGet.CommandLine (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5
- NuGet.Commands (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5
- NuGet.Common (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5
- NuGet.PackageManagement (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5
- NuGet.Protocol (NuGet) ECOSYSTEM:introduced=6.0.0,fixed=6.0.5

## Identifiers

- CVE-2023-29337
- GHSA-6qmf-mmc7-6c2p

## Related threats

- [NuGet Client Security Feature Bypass Vulnerability](https://junglewise.ai/threats/cve-2024-0057-nuget-client-security-feature-bypass-vulnerability)
- [Duplicate Advisory: NuGet Client Security Feature Bypass Vulnerability](https://junglewise.ai/threats/duplicate-advisory-nuget-client-security-feature-bypass-vulnerability-0e6f00dd)
- [NuGet Elevation of Privilege Vulnerability](https://junglewise.ai/threats/cve-2022-41032-nuget-elevation-of-privilege-vulnerability)
- [Potential leak of NuGet.org API key](https://junglewise.ai/threats/cve-2022-30184-potential-leak-of-nuget-org-api-key)
- [NuGet Package Manager Tampering Vulnerability](https://junglewise.ai/threats/cve-2019-0976-nuget-package-manager-tampering-vulnerability)
