dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

DepTrack flags vulnerabilities even though installed version number is unaffected

Open kukwaa opened this issue 5 months ago • 3 comments

Current Behavior

My project had these two vulnerabilities flagged in Deptrack which impact Bootstrap versions 3.X and 4.X.

CVE-2024-6531 Affects Bootstrap in Bootstrap Versions >=4.0.0 <=4.6.2 https://www.herodevs.com/vulnerability-directory/cve-2024-6531?bootstrap-nes

CVE-2024-6484 Affects Bootstrap in Bootstrap Versions >=3.2.0 <=3.4.1 https://www.herodevs.com/vulnerability-directory/cve-2024-6484?bootstrap-nes

However, my project is on Bootstrap 5.3.0, which should NOT be affected. And yet, they are both being flagged in Deptrack:

Image

Steps to Reproduce

  1. Add "bootstrap": "5.3.0" as a project dependency in Deptrack.
  2. Check for vulnerabilities.
  3. The two vulnerabilities above will be flagged despite us installing a version that is not affected.

Expected Behavior

I would expect DepTrack to NOT flags vulnerabilities of Bootstrap v3 and v4 when I am using Bootstrap v5.

Dependency-Track Version

4.13.2

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

Mozilla Firefox

Checklist

kukwaa avatar Jun 27 '25 13:06 kukwaa

Hi kukwaa, OSS Index reports it as vulnerable, so the issue comes from Sonatype if you use it, do you?

antoinbo avatar Jun 30 '25 08:06 antoinbo

Looking into this further, the culprit appears to be this oddity in the National Vulnerability Database? The second configuration has no version number restrictions. And apparently isn't specifically Bootstrap, either? I feel like DepTrack should be ignoring the second one?

https://nvd.nist.gov/vuln/detail/CVE-2024-6531

Image

kukwaa avatar Jul 01 '25 13:07 kukwaa

This seems to be a recurring theme with herodev vulnerabilities. Now it's CVE-2024-10491 where sonatype lists the vulnerability affecting 3.x (which is 10 years eol) to also affect 4.x and 5.x

Image

grbosh avatar Nov 13 '25 14:11 grbosh