From 0ceef9280230000ab45766c70cf1e3acf217956a Mon Sep 17 00:00:00 2001 From: Himanshu Jadon Date: Sun, 26 Apr 2026 22:07:39 -0700 Subject: [PATCH] apt: Add CVE_PRODUCT to support product name - Keep both the older deprecated debian:apt alias and the active debian:advanced_package_tool identity in CVE_PRODUCT. - This preserves completeness and avoids missing CVEs in case older aliases are still used in NVD records. (From OE-Core rev: 28d3ab81b9386bda16e196ed2934967843413186) Signed-off-by: Himanshu Jadon Signed-off-by: Richard Purdie (cherry picked from commit 4c777220ee5740b800f4128da79c24f7e42c7b88) Signed-off-by: Himanshu Jadon [FT: Rebase onto scarthgap-next] Signed-off-by: Fabien Thomas Signed-off-by: Paul Barker --- meta/recipes-devtools/apt/apt_2.6.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/apt/apt_2.6.1.bb b/meta/recipes-devtools/apt/apt_2.6.1.bb index 436e2e8cad..12915660b0 100644 --- a/meta/recipes-devtools/apt/apt_2.6.1.bb +++ b/meta/recipes-devtools/apt/apt_2.6.1.bb @@ -141,3 +141,6 @@ do_install:append() { # Avoid non-reproducible -src package sed -i -e "s,${B}/include/,,g" ${B}/apt-pkg/tagfile-keys.cc } + +# Add CVE_PRODUCT to match the NVD CPE product name +CVE_PRODUCT = "debian:apt debian:advanced_package_tool"