Skip to contentSkip to conversation

jq: correct CVE_PRODUCT mapping

PATCH New Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jq: correct CVE_PRODUCT mapping

From: Devansh Patel <[email protected]>

The default product-only mapping generates a vendor-wildcard CPE. Use jq_project:jq for the historical NVD dictionary CPE and configuration identity carrying two jq 1.5 CVEs, and jqlang:jq for the active NVD dictionary CPE and configuration identity plus CNA affected-data identity used by the current upstream.

This changes the generated identities to two exact CPEs, but the frozen sbom-cve-check database leaves the 26-entry CVE report unchanged, with no current CVE delta.

---
 meta-oe/recipes-devtools/jq/jq_1.8.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/jq/jq_1.8.2.bb +2 -0
index c413391a7a..0bbe6e009f 100644
@@ -14,6 +14,8 @@ SRC_URI = "git://github.com/jqlang/jq.git;protocol=https;branch=master;tag=jq-${
            file://run-ptest \
            "
 
+CVE_PRODUCT = "jq_project:jq jqlang:jq"
+
 inherit autotools ptest
 
 UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
Signature · 1 line
2.35.6