Skip to contentSkip to conversation

python3-cbor2: set CVE_PRODUCT

PATCH New Gyorgy Sarvari 1 participant 1 message Dec 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-cbor2: set CVE_PRODUCT

The default, "python:cbor2" CVE_PRODUCT is not appropriate for this recipe, because most associated CVEs use "agronholm:cbor2" CPE.

Set the CVE_PRODUCT to cbor2, so it will match the currently used CPE, and in case there will be future python:cbor2 CPEs also, they will be matched too.

---
 meta-python/recipes-devtools/python/python3-cbor2_5.7.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-cbor2_5.7.1.bb +2 -0
index e124207cbf..26dc41802f 100644
@@ -15,4 +15,6 @@ RDEPENDS:${PN} += " \
     python3-datetime \
 "
 
+CVE_PRODUCT = "cbor2"
+
 BBCLASSEXTEND = "native nativesdk"