add cve-check script
Status from this message: Applied series to 2025.02.x and 2025.08.x, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Add support for only enriching the current content of the SBOM without analysis.
- Improve the CVE to CycloneDX matching of metadata.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | support/scripts/cve.py: don't call download_nvdsupport/ support/ | +6 | 1 reply | |
| 2/4 | support/scripts/cve-check: add cve-check scriptsupport/ support/ | +346 | 1 reply | |
| 3/4 | DEVELOPERS: add Thomas Perale to cve-check & cve.pyDEVELOPERS | +2 | 1 reply | |
| 4/4 | docs/manual: add information on CycloneDXdocs/ | +27 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Buildroot] [PATCH v2 0/4] add cve-check script
Enriches the input CycloneDX SBOM with vulnerability information and analysis from the NVD database.
The NVD database is cloned using a mirror of it and the content is compared locally. By default the path 'dl/buildroot-nvd' is used.
Example usage to analyse vulnerabilities of an input CycloneDX SBOM:
$ make show-info | utils/generate-cyclonedx | support/script/cve-check
The 'cve-check' can also be used to only enrich the vulnerabilities present on the input SBOM with a set metadata (description, cvss, references, ...) without applying an analysis.
With the following command the vulnerabilities ignored by Buildroot present in the CycloneDX SBOM are enriched with description, cvss, etc
...
$ make show-info | utils/generate-cyclonedx | support/script/cve-check --enrich-only
v1 --> v2:
- Add support for only enriching the current content of the SBOM without analysis.
- Improve the CVE to CycloneDX matching of metadata.
Thomas Perale (4):
support/scripts/cve.py: don't call download_nvd support/scripts/cve-check: add cve-check script
DEVELOPERS: add Thomas Perale to cve-check & cve.py docs/manual: add information on CycloneDX
DEVELOPERS | 2 + docs/manual/common-usage.adoc | 27 +++ support/scripts/cve-check | 323 ++++++++++++++++++++++++++++++++++ support/scripts/cve.py | 29 ++- support/scripts/pkg-stats | 2 + 5 files changed, 381 insertions(+), 2 deletions(-) create mode 100755 support/scripts/cve-check
Signature · 6 lines
2.51.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot