Medium, CVSS 5.5NuGetPublished
Potential leak of NuGet.org API key
CVE-2022-30184 · GHSA-3885-8gqc-3wpf
- Affected
- NuGet nuget.commandline.xplat >= 3.5.0, < 4.9.5; >= 5.0.0, < 5.2.1; >= 5.3.0, < 5.7.2; >= 5.8.0, < 5.9.2; >= 5.10.0, < 5.11.2; >= 6.0.0, < 6.0.2; >= 6.1.0, < 6.2.1
- Fixed in
- 5.7.25.2.16.2.15.9.24.9.55.11.26.0.2· Vendor fix available
- Issue
- Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0 and .NET Core 3.1, NuGet (NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.CommandLine.XPlat version range from 3.5.0 to 6.2.0). This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. A vulnerability exists in .NET 6.0, .NET Core 3.1, and NuGet (NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.CommandLine.XPlat version range from 3.5.0 to 6.2.0) where a nuget.org api key could leak due to an incorrect comparison with a server url. Affected software NuGet & NuGet Packages - Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.CommandLine.XPlat 6.2.0 version or earlier. - Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.CommandLine.XPlat 6.0.1 version or earlier. - Any NuGet.exe, NuGet.Commands, NuGet.CommandLine, NuGet.CommandLine.XPlat 5.11.1 version or earlier. - Any NuGet.exe,…
Recommended action: Upgrade to 6.2.1, 6.0.2, 5.11.2 or 4 more by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.