DependencyTrack / DependencyTrack/dependency-track

False positive reported vulnerability

Open
#2,259 4 comments 0 reactions 0 assignees View on GitHub
defect FP/FN report in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

DependencyTrack reports a false positive CVE as the version from NVD is not compared in the right way. If you upload the following cyclonedx file to DependencyTrack 4.5.0, DependencyTrack will report a vulnerability which was fixed in 4.0.6. However, the version in the cyclonedx file is 4.1.3.

See screenshot and cyclonedx file.
![Screenshot from 2022-12-07 13-31-46](https://user-images.githubusercontent.com/47991713/206654689-e9612d94-ddf8-467e-a657-40589a78259e.png)
[cyclonedx.zip](https://github.com/DependencyTrack/dependency-track/files/10192906/cyclonedx.zip)

### Steps to Reproduce

1. Upload the attached cyclonedx file to DependencyTrack 4.5.0.
2. See if the CVE-34265 is reported in DependencyTrack.

### Expected Behavior

CVE-34265 is not reported in DependencyTrack.

### Dependency-Track Version

4.5.x

### Dependency-Track Distribution

Container Image

### Database Server

N/A

### 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.