-
Expected BehaviorWhen no version of a nuget packages is mentioned in the .csproj file it will pull the most recent version of the package during the build/compile. So it should only report a CVE if the most recent version contains one Actual BehaviorFor example: With the System.Net.Http it reports a CVE in a project that does not mention a version in the .csproj file. Steps to ReproduceCreate a c# project and add the following line to the .csproj file: Then scan it with depscan v6 Additional InformationThis CVE was not detected in depscan v5. We have only seen it appear with depscan v6 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
This is a feature of cdxgen where the version will be detected and set from the environment. The generated SBOM should have information along with the evidence |
Beta Was this translation helpful? Give feedback.
#471
By default, versionless purls will be ignored. Pass
--fuzzy-searchto get more hits including false positives.