SonarSource / sonarqube-roslyn-sdk

SDK for SonarQube Roslyn Analyzer Plugins
GNU Lesser General Public License v3.0
85 stars 43 forks source link

Stop using vulnerable NuGet.CommandLine package (CVE 2022-30184) #178

Closed duncanp-sonar closed 2 years ago

duncanp-sonar commented 2 years ago

Description

Microsoft Security Advisory CVE 2022-30184 involves a vulnerability related to NuGet functionality, including the NuGet.CommandLine NuGet package. The vulnerability relates to credentials being leaked when publishing NuGet packages i.e. it's logically related to nuget push. See this issue for more information.

The SonarQube.Roslyn.SDK is not directly affected by the vulnerability since it only pulls packages. It never pushes. However, third-party tooling may still flag this as a vulnerability, which generates unnecessary noise and support effort.

Upgrading the package to a patched version should be straightforward i.e. no anticipated breaking changes or changes of functionality.