Skip to contentSkip to conversation

python3-pycryptodomex: fix CVE_PRODUCT

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pycryptodomex: fix CVE_PRODUCT

From: Tim Orling <[email protected]>

The current pypi default "python:pycryptodomex" has no matching NVD CPE or configuration identity. Use "pycryptodome:pycryptodomex", the active NVD dictionary CPE and configuration identity for the packaged distribution, so CVE-2023-52323 is properly reported as patched.

(cherry picked from commit c2a2ae48add874f41c5b60ca90ba3a26ebb0fe38)
---
 meta/recipes-devtools/python/python3-pycryptodomex_3.23.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-pycryptodomex_3.23.0.bb +2 -0
index 43dba3faa3..148409c8d9 100644
@@ -3,6 +3,8 @@ inherit python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "71909758f010c82bc99b0abf4ea12012c98962fbf0583c2164f8b84533c2e4da"
 
+CVE_PRODUCT = "pycryptodome:pycryptodomex"
+
 FILES:${PN}-tests = " \
     ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
     ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/__pycache__/ \
Signature · 1 line
2.35.6