DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.61k stars 553 forks source link

Same vulnerability different databases reported twice #2181

Open BlythMeister opened 1 year ago

BlythMeister commented 1 year ago

Current Behavior

A vulnerability which exists in multiple databases are not linked so report as 2 issues (therefore doubling risk score)

Steps to Reproduce

1.import BOM with vulnerability present that reported in NVD, GitHub and Sonatype

Expected Behavior

Vulnerability are linked and only report once

Dependency-Track Version

4.6.2

Dependency-Track Distribution

Container Image

Database Server

MySQL

Database Server Version

No response

Browser

Google Chrome

Checklist

agnieszka-docplanner commented 1 year ago

Hi, I can see the same problem. In GUI I see 10 vulnerabilities from 2 different DB sources and in API I see only 5, so somehow API is removing duplicates and GUI is not. I use api/v1/metrics/project/ for checking the statistics.

sebastienDelcoigne commented 1 year ago

Confirming too. Image taken from audit tab showing the same vulnerability showing once per vuln repository. We can also see the matching Vulnerability/aliases values. image

DT version : 4.7.1

SaberStrat commented 1 year ago

Confirming duplication and cross-aliasing of the vuln sources/analyzers between NVD and GITHUB vuln, with the additional weirdness that:

See: image

germanparadisibfa commented 1 year ago

Hello @here, the same thing happens to me. So? How can we fix it? Thanks in advance. 🔥

KamilMigdal commented 8 months ago

It's been some time since the issue was reported so is there any update? I would love to have this one fixed.

valentijnscholten commented 8 months ago

Note:

... (therefore doubling risk score)

The risk score is not doubled.

WantDead commented 6 months ago

Please pay attention to the problem, it is still relevant

valentijnscholten commented 6 months ago

@nscuro I believe, at least for now, this duplication is by design. Would it be helpful to document this somewhere, maybe in the design decisions docs that I believe is being created for Hyades?

agnieszka-docplanner commented 6 months ago

@valentijnscholten I guess the main problem for us is not the view but notifications. We are creating 2 jira tickets for every finding. And then I need to manually remove them. It looks like you have the way to deduplicate those findings, because API shows the right number, so why not use this algorithm when creating notifications?

pkunze commented 4 months ago

I just tried this out using the latest DT Version and can confim it is still a problem. It makes maintaining VEX Data pretty tiring tbh.