Change default dependency resolution to avoid vulnerable nuget packages #12341
Labels
Functionality:Restore
Product:dotnet.exe
Resolution:NotABug
This issue appears to not be a bug
Style:PackageReference
Type:DCR
Design Change Request
NuGet Product(s) Affected
dotnet.exe
Current Behavior
If you install the latest version of some Microsoft nuget package, due to lowest dependency version strategy you can end up with nuget packages with known security vulnerabilities.
Desired Behavior
Either change strategy to HighestPatch or exclude vulnerable packages when executing lowest strategy or add a command similar to "npm audit fix" to allow users to easily fix known security vulnerabilities.
Additional Context
No response
The text was updated successfully, but these errors were encountered: