Skip to content
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

Same vulnerability different databases reported twice #2181

Open
2 tasks done
BlythMeister opened this issue Nov 23, 2022 · 9 comments
Open
2 tasks done

Same vulnerability different databases reported twice #2181

BlythMeister opened this issue Nov 23, 2022 · 9 comments
Labels
defect Something isn't working in triage

Comments

@BlythMeister
Copy link

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

@BlythMeister BlythMeister added defect Something isn't working in triage labels Nov 23, 2022
@agnieszka-docplanner
Copy link

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
Copy link

sebastienDelcoigne commented Apr 5, 2023

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
Copy link

SaberStrat commented May 5, 2023

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

See:
image

@germanparadisibfa
Copy link

germanparadisibfa commented Jun 8, 2023

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

@KamilMigdal
Copy link

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

@valentijnscholten
Copy link
Contributor

Note:

... (therefore doubling risk score)

The risk score is not doubled.

@WantDead
Copy link

Please pay attention to the problem, it is still relevant

@valentijnscholten
Copy link
Contributor

@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
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

8 participants