CVE-2022-41032 NuGet Client Elevation of Privilege Vulnerability

High 7.8 Published Updated

An attacker can exploit the NuGet Client to elevate privileges on systems using affected .NET and Visual Studio versions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-41032?

CVE-2022-41032 is a high-severity vulnerability in Fedoraproject Fedora, published on 11 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

NuGet Client Elevation of Privilege Vulnerability

Weakness: CWE-269

Which versions are affected by CVE-2022-41032?

40 open source packages ship an affected version, including NuGet.CommandLine, dotnet and dotnet-sdk. It affects 5 products.

PackageAffectedFixed in
NuGet.CommandLine NuGetFrom 4.6.04.9.6
NuGet.CommandLine NuGetFrom 4.6.04.9.6
NuGet.CommandLine NuGetFrom 5.0.05.7.3
NuGet.CommandLine NuGetFrom 5.0.05.7.3
NuGet.CommandLine NuGetFrom 5.10.05.11.3
NuGet.CommandLine NuGetFrom 5.10.05.11.3
34 more packages
NuGet.CommandLine NuGetFrom 5.8.05.9.3
NuGet.CommandLine NuGetFrom 5.8.05.9.3
NuGet.CommandLine NuGetFrom 6.0.06.0.3
NuGet.CommandLine NuGetFrom 6.0.06.0.3
NuGet.CommandLine NuGetFrom 6.1.06.2.2
NuGet.CommandLine NuGetFrom 6.1.06.2.2
NuGet.CommandLine NuGetFrom 6.3.06.3.1
NuGet.CommandLine NuGetFrom 6.3.06.3.1
dotnet BitnamiFrom 6.0.06.0.1
dotnet-sdk BitnamiFrom 6.0.06.0.1
NuGet.Commands NuGetFrom 4.6.04.9.6
NuGet.Commands NuGetFrom 4.6.04.9.6
NuGet.Commands NuGetFrom 5.0.05.7.3
NuGet.Commands NuGetFrom 5.0.05.7.3
NuGet.Commands NuGetFrom 5.10.05.11.3
NuGet.Commands NuGetFrom 5.10.05.11.3
NuGet.Commands NuGetFrom 5.8.05.9.3
NuGet.Commands NuGetFrom 5.8.05.9.3
NuGet.Commands NuGetFrom 6.0.06.0.3
NuGet.Commands NuGetFrom 6.0.06.0.3
NuGet.Commands NuGetFrom 6.1.06.2.2
NuGet.Commands NuGetFrom 6.1.06.2.2
NuGet.Commands NuGetFrom 6.3.06.3.1
NuGet.Commands NuGetFrom 6.3.06.3.1
NuGet.Protocol NuGetFrom 4.6.04.9.6
NuGet.Protocol NuGetFrom 4.6.04.9.6
NuGet.Protocol NuGetFrom 5.0.05.7.3
NuGet.Protocol NuGetFrom 5.0.05.7.3
NuGet.Protocol NuGetFrom 5.10.05.11.3
NuGet.Protocol NuGetFrom 5.10.05.11.3
NuGet.Protocol NuGetFrom 5.8.05.9.3
NuGet.Protocol NuGetFrom 5.8.05.9.3
NuGet.Protocol NuGetFrom 6.0.06.0.3
NuGet.Protocol NuGetFrom 6.0.06.0.3

Products include Fedoraproject Fedora, Microsoft .Net, Microsoft .Net Core, Microsoft Visual Studio 2019, Microsoft Visual Studio 2022.

How do I fix CVE-2022-41032?

Upgrade NuGet.CommandLine to a fixed version for your release line: 4.9.6, 5.7.3, 5.11.3 or 5.9.3.

Is CVE-2022-41032 being exploited?

There is no known exploitation of CVE-2022-41032 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2022:6911, ALSA-2022:6912, ALSA-2022:6913, ALSA-2022:7826, ALSA-2022:8434, BIT-dotnet-2022-41032 and 15 more.

Is CVE-2022-41032 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free