diff mbox series

[meta-python] python3-ujson: add CVE_PRODUCT mapping

Message ID 20260824105057.64609-1-devanshp@cisco.com
State Under Review
Headers show
Series [meta-python] python3-ujson: add CVE_PRODUCT mapping | expand

Commit Message

Devansh Patel Aug. 24, 2026, 10:50 a.m. UTC
From: Devansh Patel <devanshp@cisco.com>

The current inherited "python:ujson" mapping does not match the UltraJSON identities used by NVD and CVE List V5, so source-aligned CVEs are missed.

Use "ultrajson:ultrajson" for the CNA affected-data identity and "ultrajson_project:ultrajson" for the NVD dictionary CPE and configuration identity.

Signed-off-by: Devansh Patel <devanshp@cisco.com>
---
 meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb
index d68e1a674e..3a9b581f9a 100644
--- a/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb
@@ -6,6 +6,8 @@  LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87"
 
 SRC_URI[sha256sum] = "d62e3d7625384c08082abad81a077af587fdef2761bb14c3822f4234b8d07d75"
 
+CVE_PRODUCT = "ultrajson:ultrajson ultrajson_project:ultrajson"
+
 inherit pypi ptest-python-pytest python_setuptools_build_meta
 
 # let OE do the strip operation