feat: heuristic splitting on -
for lookups if vendor/product not found
#2956
Labels
enhancement
New feature or request
We recently had a case (see link above) where someone scanning their own SBOM with cve-bin-tool didn't get the scan results they were hoping for because their tool used a name that was basically
vendor-product
and we treat SBOM "name" as synonymous withproduct
I already opened up a couple of issues about adding CPE and PURL support as a way to differentiate:
But I think there's also a certain amount of clever we could do with heuristics for vendor lookups if searching for "name" without changes doesn't work.
-
and searching for pieces (as seen in bug: libraries ignored by cve-bin-tool ? #2846 which was using an SBOM related to github repos)python-
,python2-
orpy3-
as potential prefixes. (probablypython3-
too for older installs?)I think this is going to be most important for SBOMs but it's possible similar techniques would be useful in some of the language parsers. For the binary checkers we already have the
vendor, product
pair(s) explicitly set so they wouldn't need changes.The text was updated successfully, but these errors were encountered: