From 5891d513a9df0c808d09f0baa8face6381b48c30 Mon Sep 17 00:00:00 2001 From: Devansh Patel Date: Tue, 25 Aug 2026 22:30:18 -0700 Subject: [PATCH] python3-web3: add CVE_PRODUCT mapping 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 NVD configuration identity. Backport note: Scarthgap has web3.py 6.17.0 rather than 7.16.0; CVE-2026-40072 applies to this release and is reported as unpatched. Signed-off-by: Devansh Patel Signed-off-by: Khem Raj (cherry picked from commit 19ecb40f50cb5c93eb2830b10c4a5b02e367e4e7) Signed-off-by: Devansh Patel Signed-off-by: Anuj Mittal --- meta-python/recipes-devtools/python/python3-web3_6.17.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-web3_6.17.0.bb b/meta-python/recipes-devtools/python/python3-web3_6.17.0.bb index 6c093c794d..eca8f7d60d 100644 --- a/meta-python/recipes-devtools/python/python3-web3_6.17.0.bb +++ b/meta-python/recipes-devtools/python/python3-web3_6.17.0.bb @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635" SRC_URI += "file://CVE-2026-40072.patch" SRC_URI[sha256sum] = "1b535272a40da3d8d2b120856edb53b84b0c08bcc8fe1a5bbd5f816fd72f4ec6" +CVE_PRODUCT = "ethereum:web3.py apeworx:web3.py" + inherit pypi setuptools3 RDEPENDS:${PN} += " \