Skip to content
Advisory Advanced CVE-2022-41032

NuGet Client Elevation of Privilege Vulnerability (CVE-2022-41032)

The NuGet client software contained an elevation of privilege flaw affecting several versions of NuGet.exe and related packages. An attacker who exploited it could gain the rights of the user running the affected application.

Edward Thomson Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

Are any other products affected by this vulnerability? Yes. See the following list of affected versions of NuGet.exe, NuGet.Commands, NuGet.CommandLine, and NuGet.Protocol. Customers using any of these affected versions please see <Link to NuGet advisory> for information about how to fix the vulnerability. Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 6.3.0 version or earlier Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 6.2.1 version or earlier Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 6.0.2 version or earlier Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 5.11.2 version or earlier Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 5.9.2 version or earlier Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 5.7.2 version or earlier Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.Protocol 4.9.5 version or earlier

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? The attacker would gain the rights of the user that is running the affected application.

NuGet Client

NuGet Client

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Edward Thomson. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could gain the rights of the user running the affected application, though the text gives no further detail on how or under what conditions.

What the attacker needed

Affected NuGet client version; attacker can influence input to the client

The fix

Affected users should upgrade NuGet.exe, NuGet.Commands, NuGet.CommandLine and NuGet.Protocol to versions newer than those listed, as directed by the NuGet advisory.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

NuGet is a tool developers use to download and manage code packages for .NET projects. This notice says a flaw in that tool could let an attacker act with the same permissions as whoever runs it, which is a privilege escalation. The text does not explain how the flaw works.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.