NIST Product Matching vs DT Vulnerable Software CPE matching and determining vendor #3161
officerNordberg
started this conversation in
General
Replies: 1 comment
-
I ran those queries and created static mapping of 225~ identified product to vendor:product values and any missing mapping is handled by the same set of queries to DT which then fallback to the NVD API and finally just duplicate the product into the vendor to avoid * at all costs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In version 4.9.0 of DependencyTrack vulnerabilities for
cpe:2.3:a:pascom_cloud_phone_system:*:*:*:*:*:*:*:*:*
are assigned to components withcpe:2.3:a:*:libcap:2.66:*:*:*:*:*:*:*
While looking into options for removing
*
from the vendor of as many components as possible I looked to NIST's product API for assistance and my search resulted in what one would expect forhttps://services.nvd.nist.gov/rest/json/cpes/2.0?cpeMatchString=cpe:2.3:a:*:libcap:2.66
and no mention of pascom_cloud_phone_systemThis would work but the throttling on NIST's API even with a dev token made this process impractical for the number of components we have that contain
*
in the vendor part. Using DT's API in version 4.8.x I can get the same result for the slightly different queryv1/search/vulnerablesoftware?cpe=cpe:2.3:a:*:libcap:2.66:*:*:*:*:*:*:*
The cpe parameter utilizes the Fuzzy Matcher while the query parameter is a straight Lucene lookup as far as I can tell. I'd like to rely on this as I've found that NISTs and SBOM producers data are both so slapdash and incongruous I'm better off manipulating my SBOMs to match downstream expectations.
Does anyone else have any other solution to divining vendor when you have none? poky has a seldom used optional CVE_PRODUCT in their recipes which may or may not supply the vendor. amzn in the vendor part is also a huge PITA as DT would have a difficult time implementing a ALAS integration.
Beta Was this translation helpful? Give feedback.
All reactions