[oe][meta-python][wrynose][PATCH 13/20] python3-web3: add CVE_PRODUCT mapping

[email protected]
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
From: Devansh Patel <[email protected]>

The current inherited "python:web3" mapping does not match the web3.py identities used by NVD and CVE List V5, so its source-aligned CVE is missed.

Use "ethereum:web3.py" for the CNA affected-data identity and "apeworx:web3.py" for the NVD dictionary CPE and configuration identity.

Signed-off-by: Devansh Patel <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 19ecb40f50cb5c93eb2830b10c4a5b02e367e4e7)
Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-python/recipes-devtools/python/python3-web3_7.12.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-web3_7.12.1.bb b/meta-python/recipes-devtools/python/python3-web3_7.12.1.bb
index fe5886692d..18fa1d8d1c 100644
--- a/meta-python/recipes-devtools/python/python3-web3_7.12.1.bb
+++ b/meta-python/recipes-devtools/python/python3-web3_7.12.1.bb
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d34d9701a1461e4bd71a904ac4cf7be"
 
 SRC_URI[sha256sum] = "97f6a116ccaeb5907bb4cb6c771cc23bc942bf09528a840189e9b509b7b8347c"
 
+CVE_PRODUCT = "ethereum:web3.py apeworx:web3.py"
+
 inherit pypi setuptools3
 
 RDEPENDS:${PN} += " \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.