-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
The primary vulnerability stemmed from improper URL comparison in CommandRunnerUtility.GetApiKey, where a substring check instead of proper host validation allowed API keys to leak to non-nuget.org domains. The SetApiKeyCommand's automatic symbol server key association was a secondary vector removed in the patch. Both functions were directly modified in the security fix commit (ec6e62a), with the former being the root cause of CVE-2022-30184 as described in the advisory.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| NuGet.Commands | nuget | >= 3.5.0, < 4.9.5 | 4.9.5 |
| NuGet.CommandLine | nuget | >= 3.5.0, < 4.9.5 | 4.9.5 |
| NuGet.CommandLine.XPlat | nuget | >= 3.5.0, < 4.9.5 | 4.9.5 |
| NuGet.Commands | nuget | >= 5.0.0, < 5.2.1 | 5.2.1 |
| NuGet.Commands | nuget | >= 5.3.0, < 5.7.2 | 5.7.2 |
| NuGet.Commands | nuget | >= 5.8.0, < 5.9.2 | 5.9.2 |
| NuGet.Commands | nuget | >= 5.10.0, < 5.11.2 | 5.11.2 |
| NuGet.Commands | nuget | >= 6.0.0, < 6.0.2 | 6.0.2 |
| NuGet.Commands | nuget | >= 6.1.0, < 6.2.1 | 6.2.1 |
| NuGet.CommandLine | nuget | >= 5.0.0, < 5.2.1 | 5.2.1 |
| NuGet.CommandLine | nuget | >= 5.3.0, < 5.7.2 | 5.7.2 |
| NuGet.CommandLine | nuget | >= 5.8.0, < 5.9.2 | 5.9.2 |
| NuGet.CommandLine | nuget | >= 5.10.0, < 5.11.2 | 5.11.2 |
| NuGet.CommandLine | nuget | >= 6.0.0, < 6.0.2 | 6.0.2 |
| NuGet.CommandLine | nuget | >= 6.1.0, < 6.2.1 | 6.2.1 |
| NuGet.CommandLine.XPlat | nuget | >= 5.0.0, < 5.2.1 | 5.2.1 |
| NuGet.CommandLine.XPlat | nuget | >= 5.3.0, < 5.7.2 | 5.7.2 |
| NuGet.CommandLine.XPlat | nuget | >= 5.8.0, < 5.9.2 | 5.9.2 |
| NuGet.CommandLine.XPlat | nuget | >= 5.10.0, < 5.11.2 | 5.11.2 |
| NuGet.CommandLine.XPlat | nuget | >= 6.0.0, < 6.0.2 | 6.0.2 |
| NuGet.CommandLine.XPlat | nuget | >= 6.1.0, < 6.2.1 | 6.2.1 |