Skip to contentSkip to conversation

libssh2: 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 libssh2: correct CVE_PRODUCT mapping

From: Devansh Patel <[email protected]>

The default product-only mapping generates a vendor-wildcard CPE. libssh2:libssh2 is the active NVD dictionary CPE and configuration identity, and is also used by CNA affected-data records for the packaged libssh2 source.

This changes the generated product identity to an exact CPE, but the frozen sbom-cve-check database leaves the 25-entry CVE report unchanged, with no current CVE delta.

---
 meta/recipes-support/libssh2/libssh2_1.11.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/libssh2/libssh2_1.11.1.bb +2 -0
index 0eb263b017..1178c8ab2f 100644
@@ -25,6 +25,8 @@ SRC_URI = "http://www.libssh2.org/download/${BP}.tar.gz \
 
 SRC_URI[sha256sum] = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
 
+CVE_PRODUCT = "libssh2:libssh2"
+
 inherit autotools pkgconfig ptest
 
 EXTRA_OECONF += "\
Signature · 1 line
2.35.6