Skip to contentSkip to conversation

python3: correct 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: correct CVE_PRODUCT mapping

From: Devansh Patel <[email protected]>

The current mapping qualifies the generic Python product but leaves cpython vendor-wildcarded. python:python is the active NVD dictionary CPE and configuration identity. Keep python_software_foundation:python for historical NVD configurations.

Qualify OE-Core's retained CPython alias as python:cpython, the deprecated NVD dictionary CPE spelling that now points to python:python.

Add python_software_foundation:cpython for authoritative Python CNA affected data for the same CPython source. It has no dictionary record.

This changes the generated CPython identities to exact CPEs, but the frozen sbom-cve-check database leaves the 188-entry CVE report unchanged, with no current CVE delta.

---
 meta/recipes-devtools/python/python3_3.14.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.14.7.bb +1 -1
index 1eef256a83..5764359a02 100644
@@ -36,7 +36,7 @@ UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
 # maintenance branches.
 inherit upstream-stable-release-point
 
-CVE_PRODUCT = "python:python python_software_foundation:python cpython"
+CVE_PRODUCT = "python:python python_software_foundation:python python:cpython python_software_foundation:cpython"
 
 PYTHON_MAJMIN = "3.14"
 
Signature · 1 line
2.35.6