# CVE-2022-41032: NuGet Elevation of Privilege Vulnerability

Source: https://junglewise.ai/threats/cve-2022-41032-nuget-elevation-of-privilege-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-10-11  
License: CC BY 4.0 with a link back

CVE-2022-41032 · Severity: low · CVSS 3.1 · Published 2022-10-11

NuGet Elevation of Privilege 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-2022-41032 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-41032 being exploited in the wild.

**How severe is CVE-2022-41032?** Low severity, with a CVSS score of 3.1, published 11 October 2022.

**Which products and versions are affected?** NuGet.CommandLine (NuGet) ECOSYSTEM:introduced=4.6.0,fixed=4.9.6; NuGet.Commands (NuGet) ECOSYSTEM:introduced=4.6.0,fixed=4.9.6; NuGet.Protocol (NuGet) ECOSYSTEM:introduced=4.6.0,fixed=4.9.6.

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

**Am I affected by CVE-2022-41032?** Check whether you run NuGet.CommandLine (NuGet), NuGet.Commands (NuGet) or NuGet.Protocol (NuGet) 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 4.9.6 or later

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

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

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

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

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


## Affected products

- NuGet.CommandLine (NuGet) ECOSYSTEM:introduced=4.6.0,fixed=4.9.6
- NuGet.Commands (NuGet) ECOSYSTEM:introduced=4.6.0,fixed=4.9.6
- NuGet.Protocol (NuGet) ECOSYSTEM:introduced=4.6.0,fixed=4.9.6

## Identifiers

- CVE-2022-41032
- GHSA-g3q9-xf95-8hp5

## 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 Client Remote Code Execution Vulnerability](https://junglewise.ai/threats/cve-2023-29337-nuget-client-remote-code-execution-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)
