DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.46k stars 536 forks source link

Add CVSS score for GHSA vulnerabilites #2900

Open WDN2010 opened 1 year ago

WDN2010 commented 1 year ago

Current Behavior

Currently, all vulnerabilities in the GitHub Security Advisories database do not have a CVSS score, even though they are available on the GitHub page. For instance, CVE-2019-10086 has a CVSS score of 7.3 in the DTrack database, but the alias GHSA-6phf-73q6-gh87 does not have any CVSS score. However, if we visit the vulnerability page on GitHub (https://github.com/advisories/GHSA-6phf-73q6-gh87), we can see that there is a CVSS score with a detailed vector that can be loaded and used by Dependency Track.

Proposed Behavior

It's needed to download and utilize the CVSS score from the GHSA database to ensure a more comprehensive vulnerability database and make informed decisions regarding the vulnerabilities found

Checklist

nscuro commented 1 year ago

Thanks for reporting @WDN2010. I am relabeling this as defect, because we already parse this info from GHSA. Perhaps the fields or the way they are populated in their GraphQL API have changed slightly. In any case, GHSAs mirrored by DT should definitely have CVSS scores.

msymons commented 1 year ago

@nscuro, what to do when a GHSA vulnerability has a CVE alias and the CVSS differs?

nscuro commented 11 months ago

@msymons For the time being, they'll simply be tracked as two separate vulnerabilities, each with their own scoring. That's why we track aliases separately, instead of simply merging multiple vulnerabilities into a single record.

rkg-mm commented 7 months ago

Is this a duplicate of #2474 fixed by #3151 ?

khaledgithubwl commented 3 months ago

@nscuro any news for this issue ?