From patchwork Tue Dec 1 10:02:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "P. Tatrai" X-Patchwork-Id: 106768 Received: from mta-65-226.siemens.flowmailer.net (mta-65-226.siemens.flowmailer.net [185.136.65.226]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.7764.1796119356409273427 for ; Tue, 01 Dec 2026 02:02:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.tatrai.ext@siemens.com header.s=fm1 header.b=DQ1vLbS6; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.226, mailfrom: fm-1328017-20261201100233a6a8cc14f700020759-fupsft@rts-flowmailer.siemens.com) Received: by mta-65-226.siemens.flowmailer.net with ESMTPSA id 20261201100233a6a8cc14f700020759 for ; Tue, 01 Dec 2026 11:02:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.tatrai.ext@siemens.com; h=from:from:sender:to:to:cc:subject:subject:content-type:content-transfer-encoding:content-transfer-encoding:References:In-Reply-To:Date:Message-ID:MIME-Version; bh=srrfyg9fplHWBYmYQKKI8hRWnIdMzpp5lPKwNzU+WoM=; b=DQ1vLbS6wtkKCU8H1N/t5ELpNGE116/gIDBUD9nsX/9uuWynxlXtBtmFLZ2vwosodd9IQP me6c7mJeOXb7GbekQ+t2BObhK0/VRl9VQWD1Ev9G9tgP9uFh4lr5kg3v6ioO/uzQLAHM2UTG TWDwUcSWy0q6jSIs9jjcTr4z5/Q4UGkIQI6OkXnt46uqe1pXiQRmyFFVMW52vGe54EAr/QkN gEtRxNRHZcSBgq9JPs5sIYiwPQ/MWYQYILsPCJibbWVzENh92sJDn3nM025ealjPfmRkfYTS u0AcyLpYXhjAeJOLMg2yz4WwMpizYhtISLPK/9EgvFgwxbVId33ZCBLw==; From: "P. Tatrai" To: openembedded-core@lists.openembedded.org Subject: [scarthgap][PATCH v2 8/8] cve-extra-inclusions: encode CPEs of affected packages Date: Tue, 1 Dec 2026 11:02:31 +0100 Message-Id: <20261201100231.3119168-9-peter.tatrai.ext@siemens.com> In-Reply-To: <20261201100231.3119168-1-peter.tatrai.ext@siemens.com> References: <20261201100231.3119168-1-peter.tatrai.ext@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1328017:519-21489:flowmailer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 01 Dec 2026 10:02:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251700 From: Marta Rybczynska Add the new cpe:vendor:product tagging to entries in cve-extra-inclusions, using product/vendor combinations that are already present in OE-core (usually there is no specific vendor). Backport check: the old and new cve-extra-exclusions.inc were loaded into BitBake datastores for the eight products that the entries now name (strace, epiphany, glibc, golang:go, berkeley_db, linux_kernel, qemu, netwide_assembler) and passed through the scarthgap cve-check and SPDX helpers. All 43 CVE IDs keep the same status, detail and description for their product. Against a local NVD snapshot, 42 of them are Ignored by cve-check both before and after. CVE-2011-0640 is listed under udev, not linux_kernel, in NVD, so cve-check does not report it for the kernel either before or after this change. No CVE changed to Unpatched. For unrelated recipes the entries are no longer reported, e.g. SPDX for CVE-2020-2981: db: Ignored / upstream-wontfix -> Ignored / upstream-wontfix zlib: Ignored / upstream-wontfix -> not reported This was checked with the helper functions, not with a full image build. Signed-off-by: Marta Rybczynska Signed-off-by: Richard Purdie (cherry picked from commit e1bf43561093b3b9215cde9e9f7d80b4ffcdc64e) AI-Generated: GitHub Copilot CLI, Claude Opus 5.5 (backport check note) Signed-off-by: Peter Tatrai --- .../distro/include/cve-extra-exclusions.inc | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/meta/conf/distro/include/cve-extra-exclusions.inc b/meta/conf/distro/include/cve-extra-exclusions.inc index fcef6a1..ffbbb7b 100644 --- a/meta/conf/distro/include/cve-extra-exclusions.inc +++ b/meta/conf/distro/include/cve-extra-exclusions.inc @@ -16,11 +16,11 @@ # # strace https://nvd.nist.gov/vuln/detail/CVE-2000-0006 -CVE_STATUS[CVE-2000-0006] = "upstream-wontfix: CVE is more than 20 years old \ +CVE_STATUS[CVE-2000-0006] = "upstream-wontfix: cpe:*:strace: CVE is more than 20 years old \ with no resolution evident. Broken links in CVE database references make resolution impractical." # epiphany https://nvd.nist.gov/vuln/detail/CVE-2005-0238 -CVE_STATUS[CVE-2005-0238] = "upstream-wontfix: \ +CVE_STATUS[CVE-2005-0238] = "upstream-wontfix: cpe:*:epiphany: \ The issue here is spoofing of domain names using characters from other character sets. \ There has been much discussion amongst the epiphany and webkit developers and \ whilst there are improvements about how domains are handled and displayed to the user \ @@ -28,7 +28,7 @@ there is unlikely ever to be a single fix to webkit or epiphany which addresses problem. There isn't any mitigation or fix or way to progress this further." # glibc https://nvd.nist.gov/vuln/detail/CVE-2010-4756 -CVE_STATUS[CVE-2010-4756] = "upstream-wontfix: \ +CVE_STATUS[CVE-2010-4756] = "upstream-wontfix: cpe:*:glibc: \ Issue is memory exhaustion via glob() calls, e.g. from within an ftp server \ Best discussion in https://bugzilla.redhat.com/show_bug.cgi?id=681681 \ Upstream don't see it as a security issue, ftp servers shouldn't be passing \ @@ -38,7 +38,7 @@ this to libc glob. Upstream have no plans to add BSD's GLOB_LIMIT or similar." # go https://nvd.nist.gov/vuln/detail/CVE-2020-29511 CVE_STATUS_GROUPS += "CVE_STATUS_GO" CVE_STATUS_GO = "CVE-2020-29509 CVE-2020-29511" -CVE_STATUS_GO[status] = "not-applicable-config: \ +CVE_STATUS_GO[status] = "not-applicable-config: cpe:golang:go: \ The encoding/xml package in go can potentially be used for security exploits if not used correctly \ CVE applies to a netapp product as well as flagging a general issue. We don't ship anything \ exposing this interface in an exploitable way" @@ -50,7 +50,7 @@ CVE-2015-2656 CVE-2015-4754 CVE-2015-4764 CVE-2015-4774 CVE-2015-4775 CVE-2015-4 CVE-2015-4778 CVE-2015-4779 CVE-2015-4780 CVE-2015-4781 CVE-2015-4782 CVE-2015-4783 CVE-2015-4784 \ CVE-2015-4785 CVE-2015-4786 CVE-2015-4787 CVE-2015-4788 CVE-2015-4789 CVE-2015-4790 CVE-2016-0682 \ CVE-2016-0689 CVE-2016-0692 CVE-2016-0694 CVE-2016-3418 CVE-2020-2981" -CVE_STATUS_DB[status] = "upstream-wontfix: Since Oracle relicensed bdb, the open source community is slowly but surely \ +CVE_STATUS_DB[status] = "upstream-wontfix: cpe:*:berkeley_db: Since Oracle relicensed bdb, the open source community is slowly but surely \ replacing bdb with supported and open source friendly alternatives. As a result this CVE is unlikely to ever be fixed." # Kernel CVEs that are generic but can't be added to the kernel's hand-maintained cve-exclusion.inc @@ -60,25 +60,25 @@ replacing bdb with supported and open source friendly alternatives. As a result # For OE-Core our policy is to stay as close to the kernel stable releases as we can. This should # ensure the bulk of the major kernel CVEs are fixed and we don't dive into each individual issue # as the stable maintainers are much more able to do that. -CVE_STATUS[CVE-1999-0524] = "ignored: issue is that ICMP exists, can be filewalled if required" -CVE_STATUS[CVE-2008-4609] = "ignored: describes design flaws in TCP" -CVE_STATUS[CVE-2010-4563] = "ignored: low impact, only enables detection of hosts which are sniffing network traffic" -CVE_STATUS[CVE-2011-0640] = "ignored: requires physical access and any mitigation would mean USB is impractical to use" +CVE_STATUS[CVE-1999-0524] = "ignored: cpe:*:linux_kernel:issue is that ICMP exists, can be filewalled if required" +CVE_STATUS[CVE-2008-4609] = "ignored: cpe:*:linux_kernel:describes design flaws in TCP" +CVE_STATUS[CVE-2010-4563] = "ignored: cpe:*:linux_kernel:low impact, only enables detection of hosts which are sniffing network traffic" +CVE_STATUS[CVE-2011-0640] = "ignored: cpe:*:linux_kernel:requires physical access and any mitigation would mean USB is impractical to use" # qemu:qemu-native:qemu-system-native https://nvd.nist.gov/vuln/detail/CVE-2021-20255 -CVE_STATUS[CVE-2021-20255] = "upstream-wontfix: \ +CVE_STATUS[CVE-2021-20255] = "upstream-wontfix: cpe:*:qemu: \ There was a proposed patch https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06098.html \ qemu maintainers say the patch is incorrect and should not be applied \ The issue is of low impact, at worst sitting in an infinite loop rather than exploitable." # qemu:qemu-native:qemu-system-native https://nvd.nist.gov/vuln/detail/CVE-2019-12067 -CVE_STATUS[CVE-2019-12067] = "upstream-wontfix: \ +CVE_STATUS[CVE-2019-12067] = "upstream-wontfix: cpe:*:qemu: \ There was a proposed patch but rejected by upstream qemu. It is unclear if the issue can \ still be reproduced or where exactly any bug is. \ We'll pick up any fix when upstream accepts one." # nasm:nasm-native https://nvd.nist.gov/vuln/detail/CVE-2020-18974 -CVE_STATUS[CVE-2020-18974] = "upstream-wontfix: \ +CVE_STATUS[CVE-2020-18974] = "upstream-wontfix: cpe:*:netwide_assembler: \ It is a fuzzing related buffer overflow. It is of low impact since most devices \ wouldn't expose an assembler. The upstream is inactive and there is little to be \ done about the bug, ignore from an OE perspective."