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

Inconsistent Vulnerabilities Reported for the Same CPE Across Project Versions #4613

Open
2 tasks done
FabioRighe opened this issue Feb 3, 2025 · 0 comments
Open
2 tasks done
Labels
defect Something isn't working in triage

Comments

@FabioRighe
Copy link

FabioRighe commented Feb 3, 2025

Current Behavior

I am experiencing a discrepancy in the number of vulnerabilities reported for the same component across two different versions of my project.

Component Details:

  • component name: g++-8
  • version 8.3.0-6
  • CPE: cpe:2.3:a:g++-8:g++-8:8.3.0-6:::::::*
  • PURL: pkg:deb/debian/g%20%[email protected]?arch=amd64&distro=debian-10&upstream=gcc-8

Issue:
I have two versions of my project, and the reported vulnerabilities for this component vary significantly:

  • Version 1: Reports 1,772 vulnerabilities associated with the CPE.
  • Version 2: Reports 0 vulnerabilities for the same CPE.

Steps Taken:

  • Check that the reported analyzer is NVD
  • I performed a "reanalyze" action, but the vulnerability count remained unchanged in both versions.
  • I downloaded the BOM with vulnerabilities for each version and found that the vulnerabilities listed in both versions align with the data in the report.

Screenshots:
Version 1 (1772 vulnerabilities):

Image

Version 2 (0 vulnerabilities):

Image

Questions:

  • Could this be an issue with how the CPE is being matched?
  • Is there a known bug or an inconsistency in how NVD is handling this package?
  • Are there any debugging steps I can take to further investigate this discrepancy?

Steps to Reproduce

  1. I'm not sure if this scenario can be reproduced easily

Expected Behavior

The vulnerability analysis should be consistent across project versions for the same CPE ad PURL

Dependency-Track Version

4.12.1

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

No response

Browser

N/A

Checklist

@FabioRighe FabioRighe added defect Something isn't working in triage labels Feb 3, 2025
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

1 participant