-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet list package --vulnerable, --deprecated, --outdated does not work for transitive-only positives #10767
Comments
Related: see dotnet/runtime#49377 and dotnet/runtime#50914 |
https://github.com/NuGet/Home/blob/dev/proposed/2020/Transitive-Dependencies.md If it is promoted to a top-level package, it will be reported. /cc @drewgillies |
Sorry that is confusing. I'll defer to @drewgillies on the behavior of "transitive" packages that support old TFMs like net40 & sl4. Ideally it should work similar to the behavior as .NET Core packages (the screenshots shown w/ UmbracoForms). |
@watfordgnf I'm able to reproduce this bug. I'm investigating now to see whether there is a workaround (and what indeed is broken). |
@watfordgnf @JonDouglas this is definitely a bug, a long standing one which has historically also affected the |
Thank you for figuring this out! |
Hi @drewgillies - The issue still reproduces after the fix. Would you please take a look? |
Hi @drewgillies - We are trying to understand if there's any work left here. |
Can you please check if this issue reproes with the latest 6.0.1xx SDK? We expect that it is fixed. |
@nkolev92 It is fixed on Main\31907.30 with the .NET SDK 6.0.100 for listing the transitive vulnerable package as below. |
Details about Problem
It appears that vulnerable package listing does not work, even if it shows up on the NuGet website. I used the example found in https://devblogs.microsoft.com/nuget/how-to-scan-nuget-packages-for-security-vulnerabilities/ and could not recreate the experience.
NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): dotnet.exe
Product version:
Worked before? If so, with which NuGet version: Not sure.
Repro steps and/or sample project
Add Microsoft.OData.Services.Client 5.2.0 (as seen in the Microsoft example), which has known vulnerabilities in a dependent package (Microsoft.Data.OData) listed on the NuGet.org homepage:
The text was updated successfully, but these errors were encountered: