DependencyTrack / DependencyTrack/dependency-track

Same component and version in different projects shows different CVE results

Open
#5,633 3 comments 3 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

We have two versions of same project that has same components and versions. But both of them reports different CVEs

Image

Image

### Steps to Reproduce

1. Create two seperate projects
2. Run CDXGEN and import same components into two projects
3. Run ReAnalyse
4. Same components would show two different CVEs, even though they have same version

[8c03a6ee-d20a-4ba3-a1e8-caf14f361991-withVulnerabilities.cdx.json](https://github.com/user-attachments/files/24184297/8c03a6ee-d20a-4ba3-a1e8-caf14f361991-withVulnerabilities.cdx.json)
[9e4e596d-953e-4cf4-914f-cfafa30a7516-withVulnerabilities.cdx.json](https://github.com/user-attachments/files/24184296/9e4e596d-953e-4cf4-914f-cfafa30a7516-withVulnerabilities.cdx.json)

### Expected Behavior

Same component and version should have same vulnerabilities.

### Dependency-Track Version

4.13.4

### Dependency-Track Distribution

Container Image

### Database Server

PostgreSQL

### Database Server Version

_No response_

### Browser

Google Chrome

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this defect was already reported

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.