DependencyCheck
DependencyCheck copied to clipboard
[FP]: MongoDB.Bson identified as MongoDB
Package URl
pkg:nuget/[email protected]
CPE
cpe:2.3:a:mongodb:mongodb:2.22.0:::::::*
CVE
No response
ODC Integration
None
ODC Version
9.0.8
Description
A false positive for the mongodb library (https://github.com/mongodb/mongo) is reported, when in reality it is the MongoDB.Bson NuGet package (https://www.nuget.org/packages/MongoDB.Bson).
Nuget Coordinates
dotnet add package MongoDB.Bson --version 2.22.0
Suppression rule:
<suppress base="true">
<notes><![CDATA[
FP per issue #6376
]]></notes>
<packageUrl regex="true">^pkg:nuget/MongoDB\.Bson@.*$</packageUrl>
<cpe>cpe:/a:mongodb:mongodb</cpe>
</suppress>
Link to test results: https://github.com/jeremylong/DependencyCheck/actions/runs/7459342995
@echalone I'm pretty sure this related to https://github.com/jeremylong/DependencyCheck/issues/6358 We're facing similar problems because the ecosystem of mongodb:mongodb is (often) not consistent for all CPEs
approved
Suppress rule has been added to the generatedSuppressions
branch.