Skip to contentSkip to conversation

abseil-cpp: Add CVE_PRODUCT to support product name

PATCH New Het Patel -X (hetpat - E INFOCHIPS PRIVATE LIMITED at Cisco) 2 participants 6 messages Feb 26 – Feb 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 abseil-cpp: Add CVE_PRODUCT to support product name

From: Het Patel <[email protected]>

- Set CVE_PRODUCT to align with the NVD CPE and ensure correct CVE reporting.

---
 meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20260107.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20260107.0.bb +3 -0
index d4475ee73a..abf736131a 100644
@@ -53,3 +53,6 @@ python split_dynamic_packages() {
 ALLOW_EMPTY:${PN} = "1"
 
 BBCLASSEXTEND = "native nativesdk"
+
+# Add CVE_PRODUCT to match the NVD CPE product name
+CVE_PRODUCT = "abseil:common_libraries"
#1 lore raw

PATCH 1/1 open-vm-tools: Add entry to CVE_PRODUCT to support the product name

From: Het Patel <[email protected]>

- Added 'vmware:open_vm_tools' to CVE_PRODUCT to align with the NVD CPE and ensure accurate CVE reporting.

---
 .../recipes-support/open-vm-tools/open-vm-tools_13.0.10.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.0.10.bb +1 -1
index 80dc3529c0..4ec6d5aa86 100644
@@ -120,6 +120,6 @@ python() {
         raise bb.parse.SkipRecipe('Requires meta-filesystems to be present to provide fuse.')
 }
 
-CVE_PRODUCT = "open-vm-tools vmware:tools"
+CVE_PRODUCT = "open-vm-tools vmware:tools vmware:open_vm_tools"
 CVE_STATUS[CVE-2014-4199] = "fixed-version: No action required. The current version (12.3.5) is not affected by the CVE which affects version 10.0.3"
 CVE_STATUS[CVE-2014-4200] = "fixed-version: No action required. The current version (12.3.5) is not affected by the CVE which affects version 10.0.3"
#2 lore raw

PATCH 1/1 onig: Add CVE_PRODUCT to support product name

In reply to Het Patel -X (hetpat - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Het Patel <[email protected]>

- Set CVE_PRODUCT to align with the NVD CPE and ensure correct CVE reporting.

---
 meta-oe/recipes-support/onig/onig_6.9.10.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/onig/onig_6.9.10.bb +3 -0
index f285c2ed73..d7419b4ace 100644
@@ -35,3 +35,6 @@ do_install_ptest() {
 }
 
 PROVIDES += "oniguruma"
+
+# Add CVE_PRODUCT to match the NVD CPE product name
+CVE_PRODUCT = "oniguruma_project:oniguruma"
#3 lore raw

PATCH 1/1 googletest: Add CVE_PRODUCT to support product name

In reply to Het Patel -X (hetpat - E INFOCHIPS PRIVATE LIMITED at Cisco)

From: Het Patel <[email protected]>

- Set CVE_PRODUCT to align with the NVD CPE and ensure correct CVE reporting.

---
 meta-oe/recipes-test/googletest/googletest_1.17.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-test/googletest/googletest_1.17.0.bb +3 -0
index c8ed80053d..242f0ac7da 100644
@@ -35,3 +35,6 @@ do_configure:prepend() {
     # there isn't python in HOSTTOOLS so "env python" fails
     sed -i 's@^#!/usr/bin/env python$@#!/usr/bin/env python3@g' ${S}/googlemock/test/*py ${S}/googletest/test/*py
 }
+
+# Add CVE_PRODUCT to match the NVD CPE product name
+CVE_PRODUCT = "google:google_test"
#4 lore raw

RE: [oe] [meta-oe] [PATCH v1] googletest: Add CVE_PRODUCT to support product name

Quoted 32 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Het Patel via lists.openembedded.org
Sent: Thursday, February 26, 2026 13:51
To: [email protected]
Cc: [email protected]; [email protected]
Subject: [oe] [meta-oe] [PATCH v1] googletest: Add CVE_PRODUCT to support product name

From: Het Patel <[email protected]>

- Set CVE_PRODUCT to align with the NVD CPE and ensure correct CVE reporting.

---
 meta-oe/recipes-test/googletest/googletest_1.17.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta- renamed from meta-oe/recipes-test/googletest/googletest_1.17.0.bb +0 -0

oe/recipes-test/googletest/googletest_1.17.0.bb
index c8ed80053d..242f0ac7da 100644

meta-oe/recipes-test/googletest/googletest_1.17.0.bb +0 -0
@@ -35,3 +35,6 @@ do_configure:prepend() {
     # there isn't python in HOSTTOOLS so "env python" fails
     sed -i 's@^#!/usr/bin/env python$@#!/usr/bin/env python3@g'

${S}/googlemock/test/*py ${S}/googletest/test/*py
}

meta-oe/recipes-test/googletest/googletest_1.17.0.bb do_configure:prepend() { · line 40

Quoted 3 lines
meta-oe/recipes-test/googletest/googletest_1.17.0.bb +3 -0
+
+# Add CVE_PRODUCT to match the NVD CPE product name
+CVE_PRODUCT = "google:google_test"

Where is this CPE coming from?
Afaik there is no CVE for googletest to look at used CPEs. Please add reference to the commit message.

#5 lore raw

Re: [oe] [meta-oe] [PATCH v1] googletest: Add CVE_PRODUCT to support product name

Hi,

The CPE reference comes from the NVD entry for google_test. One of the CPE used is:

https://nvd.nist.gov/products/cpe/detail/5806549A-1DCE-4225-80C6-7099B53A0F77?namingFormat=2.3&orderBy=CPEURI&keyword=cpe%3A2.3%3Aa%3Agoogle%3Agoogle_test&status=FINAL

This CPE (cpe:2.3:a:google:google_test) is the product name currently defined by NVD for Googletest. The complete list of available CPEs matching google_test can be found here:

https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=google_test

You are correct that, at present, there are no CVEs reported for Googletest. However, the source code is already mapped to this CPE in NVD. Setting CVE_PRODUCT ensures that any future CVEs reported against this product will be correctly detected and attributed during CVE checking.

I will send a revised patch with this information clearly documented in the commit message as a reference.

Best regards,
Het.
________________________________
From: [email protected] <[email protected]> on behalf of Peter Marko via lists.openembedded.org <[email protected]>
Sent: Thursday, February 26, 2026 6:49 PM
To: Het Patel -X (hetpat - E INFOCHIPS PRIVATE LIMITED at Cisco) <[email protected]>; [email protected] <[email protected]>
Cc: xe-linux-external(mailer list) <[email protected]>; Viral Chavda (vchavda) <[email protected]>
Subject: Re: [oe] [meta-oe] [PATCH v1] googletest: Add CVE_PRODUCT to support product name

Quoted 30 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Het Patel via lists.openembedded.org
Sent: Thursday, February 26, 2026 13:51
To: [email protected]
Cc: [email protected]; [email protected]
Subject: [oe] [meta-oe] [PATCH v1] googletest: Add CVE_PRODUCT to support product name

From: Het Patel <[email protected]>

- Set CVE_PRODUCT to align with the NVD CPE and ensure correct CVE reporting.

---
 meta-oe/recipes-test/googletest/googletest_1.17.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta- renamed from meta-oe/recipes-test/googletest/googletest_1.17.0.bb +0 -0

oe/recipes-test/googletest/googletest_1.17.0.bb
index c8ed80053d..242f0ac7da 100644

meta-oe/recipes-test/googletest/googletest_1.17.0.bb +0 -0
@@ -35,3 +35,6 @@ do_configure:prepend() {
     # there isn't python in HOSTTOOLS so "env python" fails
     sed -i 's@^#!/usr/bin/env python$@#!/usr/bin/env python3@g'

${S}/googlemock/test/*py ${S}/googletest/test/*py
}

meta-oe/recipes-test/googletest/googletest_1.17.0.bb do_configure:prepend() { · line 40

Quoted 3 lines
meta-oe/recipes-test/googletest/googletest_1.17.0.bb +3 -0
+
+# Add CVE_PRODUCT to match the NVD CPE product name
+CVE_PRODUCT = "google:google_test"

Where is this CPE coming from?
Afaik there is no CVE for googletest to look at used CPEs. Please add reference to the commit message.