Skip to contentSkip to conversation

zlib: Add CVE_PRODUCT to exclude false positives

PATCH New Het Patel 1 participant 1 message Aug 9, 2024

lore
Share & tools
lore

Het Patel

author
#0 lore raw

PATCH v2 1/1 zlib: Add CVE_PRODUCT to exclude false positives

To avoid false positives (such as CVE-2023-6992, cloudflare:zlib), add a CVE_PRODUCT to identify the vendors that have been used.

Removing the present existing CVE_STATUS for CVE-2023-6992.

---
 meta/recipes-core/zlib/zlib_1.3.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/zlib/zlib_1.3.1.bb +3 -1
index e6a81ef789..486431dfff 100644
@@ -47,4 +47,6 @@ do_install_ptest() {
 BBCLASSEXTEND = "native nativesdk"
 
 CVE_STATUS[CVE-2023-45853] = "not-applicable-config: we don't build minizip"
-CVE_STATUS[CVE-2023-6992] = "cpe-incorrect: this CVE is for cloudflare zlib"
+
+# Adding 'CVE_PRODUCT' to avoid false detection of CVEs
+CVE_PRODUCT = "zlib:zlib gnu:zlib"