mbox series

[scarthgap,0/2] Scope global CVE exclusions by product

Message ID 20261120092309.4056817-1-peter.tatrai.ext@siemens.com
Headers show
Series Scope global CVE exclusions by product | expand

Message

P. Tatrai Nov. 20, 2026, 9:23 a.m. UTC
From: Peter Tatrai <peter.tatrai.ext@siemens.com>

The Scarthgap SPDX 3.0 backport did not bring over product filtering
for CVE_STATUS assessments. As a result, global exclusions can appear
in CVE-check and SPDX/VEX reports for recipes they do not apply to.

The first patch adapts Wrynose's parser and matcher while retaining
Scarthgap's existing APIs and the behavior of unscoped entries. The
second qualifies the existing global exclusions without adding or
removing assessments.

Peter Tatrai (2):
  cve-check: keep global CVE exclusions out of unrelated reports
  cve-exclusions: qualify global assessments by product

 meta/classes/vex.bbclass                      |  1 -
 .../distro/include/cve-extra-exclusions.inc   | 24 +++---
 meta/lib/oe/cve_check.py                      | 76 +++++++++++++++++--
 meta/lib/oe/spdx30_tasks.py                   |  1 -
 meta/lib/oeqa/selftest/cases/cve_check.py     | 48 ++++++++++++
 5 files changed, 129 insertions(+), 21 deletions(-)


base-commit: fc4316861becc9f0d41857b49f6438929ab4c291