The CVE Binary Tool is a free, open source tool to help you find known vulnerabilities in software, using data from the National Vulnerability Database (NVD) list of Common Vulnerabilities and Exposures (CVEs).
This change adds all known CPE's (unique identifier for a software component) for our deps and adds a little bit of tooling to make running cve-bin-tool a easier. No attempt is made to manage the issues reported (one can mitigate/ignore/etc issues, but no tooling is provided in this diff for this).
cve-bin-tool uses the NVD database, which unless you have an API key limits you to 1 request per 6 seconds, it is highly recommended for platform maintainers to get a key over at
https://nvd.nist.gov/developers/request-an-api-key
as it would significantly decrease the time needed to download/update the databases required. once obtained, pass it to cmake using -DNVD_KEY=your_api_key
then you can just run the newly made targets by either running
make cve_check
or running
make cve_check_html
No attempt is currently made to locate cve-bin-tool and it is assumed to be available in the path, for installation instructions see the cve-bin-tool project page on github (TL;DR: pip instal cve-bin-tool)