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.

Signed-off-by: mark.yang <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 2229426b729adf85780c23d38c85fc3cf090f6ba)
Signed-off-by: Himanshu Jadon <[email protected]>
---
 meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb 
b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
index 9a308a29d2..33bf49b1fc 100644
--- a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
+++ b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = 
"341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d
 
 PYPI_PACKAGE = "xmltodict"
 
+CVE_PRODUCT = "xmltodict:xmltodict"
+
 BBCLASSEXTEND = "native nativesdk"
 
 inherit pypi setuptools3 ptest
-- 
2.35.6

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242263): 
https://lists.openembedded.org/g/openembedded-core/message/242263
Mute This Topic: https://lists.openembedded.org/mt/120500001/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to