intel / cve-bin-tool

The CVE Binary Tool helps you determine if your system includes known vulnerabilities. You can scan binaries for over 200 common, vulnerable components (openssl, libpng, libxml2, expat and others), or if you know the components used, you can get a list of known vulnerabilities associated with an SBOM or a list of components and versions.
https://cve-bin-tool.readthedocs.io/en/latest/
GNU General Public License v3.0
1.19k stars 457 forks source link

feat: added script to populate deduplication database #4223

Closed inosmeet closed 3 months ago

inosmeet commented 3 months ago

sqlite_loader populates the deduplication. If we're satisfied with this approach, I'll make a ci script that triggers this when the data/ directory updates.

cc @terriko @anthonyharrison

terriko commented 3 months ago

I think this is pretty close to what we want, but I think we'll need to do some tweaks to the words we use to improve usability.

Right now, if I read just that data file, I'd assume that it was like purl2cpe, as in "this purl is related to this vendor" but we actually mean completely the opposite "this purl is absolutely not related to this vendor" -- so we need to figure out a way to make that more clear.

I think we'll need multiple things to help here:

Documentation

Naming

inosmeet commented 3 months ago

I've removed the zstandard example from here. I'll make a separate PR which will serve as a demo for our documentation.

inosmeet commented 3 months ago

I've put the db-renaming part in a different PR #4225.