Skip to contentSkip to conversation

python3-web3: add CVE_PRODUCT mapping

PATCH New Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-web3: add CVE_PRODUCT mapping

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 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.

(cherry picked from commit 19ecb40f50cb5c93eb2830b10c4a5b02e367e4e7)
---
 meta-python/recipes-devtools/python/python3-web3_6.17.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-web3_6.17.0.bb +2 -0
index f1be4dcf4d..80b14d6360 100644
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635"
 
 SRC_URI[sha256sum] = "1b535272a40da3d8d2b120856edb53b84b0c08bcc8fe1a5bbd5f816fd72f4ec6"
 
+CVE_PRODUCT = "ethereum:web3.py apeworx:web3.py"
+
 inherit pypi setuptools3
 
 RDEPENDS:${PN} += " \
Signature · 1 line
2.35.6