Skip to contentSkip to conversation

expat: correct CVE_PRODUCT mapping

PATCH In review Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 2 participants 2 messages Aug 24 – Aug 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 expat: correct CVE_PRODUCT mapping

From: Devansh Patel <[email protected]>

The current product-only mapping generates vendor-wildcard CPEs, while the old libexpat:expat dictionary entries are deprecated. libexpat_project:libexpat is the active NVD dictionary CPE and configuration identity, and is also used by CNA affected-data records for the packaged libexpat source.

This changes the generated product identity. With the frozen sbom-cve-check database, the 63-entry CVE report is unchanged, so this is an identity correction with no CVE delta.

---
 meta/recipes-core/expat/expat_2.8.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/expat/expat_2.8.3.bb +1 -1
index 79e8c15227..e431792826 100644
@@ -30,4 +30,4 @@ do_install_ptest:class-target() {
 
 BBCLASSEXTEND += "native nativesdk"
 
-CVE_PRODUCT = "expat libexpat"
+CVE_PRODUCT = "libexpat_project:libexpat"
Signature · 1 line
2.35.6
#1 lore raw
Quoted 22 lines · On Mon, 2026-08-24 at 04:01 -0700, Devansh Patel -X (devanshp - E INFOCHIPS…

From: Devansh Patel <[email protected]>

The current product-only mapping generates vendor-wildcard CPEs, while the old libexpat:expat dictionary entries are deprecated. libexpat_project:libexpat is the active NVD dictionary CPE and configuration identity, and is also used by CNA affected-data records for the packaged libexpat source.

This changes the generated product identity. With the frozen sbom-cve-check database, the 63-entry CVE report is unchanged, so this is an identity correction with no CVE delta.

---
 meta/recipes-core/expat/expat_2.8.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/expat/expat_2.8.3.bb +0 -0
index 79e8c15227..e431792826 100644

meta/recipes-core/expat/expat_2.8.3.bb do_install_ptest:class-target() { · line 33

Quoted 5 lines
meta/recipes-core/expat/expat_2.8.3.bb +1 -1
@@ -30,4 +30,4 @@ do_install_ptest:class-target() {
 
 BBCLASSEXTEND += "native nativesdk"
 
-CVE_PRODUCT = "expat libexpat"
+CVE_PRODUCT = "libexpat_project:libexpat"

Hi,

This change would exclude CVEs that actually do apply to expat, such as CVE-2026-76641 which has CPE libexpat:libexpat in the MITRE database (most easily seen in the json representation [1]). I don't think it is correct.

What was the motivation to change this CVE_PRODUCT assignment?

[1]: https://cveawg.mitre.org/api/cve/CVE-2026-76641

Best regards,

Signature · 1 line
Paul Barker