Skip to contentSkip to conversation

python3-xmltodict: set CVE_PRODUCT

PATCH New Himanshu Jadon -X (hjadon - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Jul 29

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-xmltodict: set CVE_PRODUCT

From: "mark.yang" <[email protected]>

The CVE databases track xmltodict as xmltodict:xmltodict, so the default python:xmltodict vendor prefix never matches and its CVEs are not evaluated at all. Use the exact vendor:product pair.

Note: Original commit was for python3-xmltodict_1.0.4.bb. This is adjusted for scarthgap where recipe version is python3-xmltodict_0.13.0.bb.

(cherry picked from commit 2229426b729adf85780c23d38c85fc3cf090f6ba)
---
 meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb +2 -0
index 9a308a29d2..33bf49b1fc 100644
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d
 
 PYPI_PACKAGE = "xmltodict"
 
+CVE_PRODUCT = "xmltodict:xmltodict"
+
 BBCLASSEXTEND = "native nativesdk"
 
 inherit pypi setuptools3 ptest
Signature · 1 line
2.35.6