Skip to contentSkip to conversation

apt: Add CVE_PRODUCT to support product name

PATCH New Himanshu Jadon -X (hjadon - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Apr 23 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): e225fccde9314e31a8efa5a171afa97780f67332.camel@...

#1 lore raw

PATCH v2 1/1 apt: Add CVE_PRODUCT to support product name

From: Himanshu Jadon <[email protected]>

- 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.

---
Changes in v2:
- keep deprecated debian:apt alias alongside debian:advanced_package_tool
- update rationale to retain both CPEs for completeness

 meta/recipes-devtools/apt/apt_3.0.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/apt/apt_3.0.3.bb +3 -0
index d2dfe48e9a..871564baea 100644
@@ -148,3 +148,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"
Signature · 1 line
2.35.6