Skip to contentSkip to conversation

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

From: Devansh Patel <[email protected]>

The inherited "python:mako" mapping is not used for the packaged Mako source and causes its vulnerability records to be missed.

Use "makotemplates:mako" for its historical NVD configuration identity and "sqlalchemy:mako" for the current NVD dictionary CPE, NVD configuration, and CNA affected-data identity.

Backport note: this applies the metadata to Wrynose Mako 1.3.10 rather than master 1.4.1; the older release exposes applicable unpatched records.

(cherry picked from commit 76fc2046d3f251af34dd04f8fdcfc0c1d6016380)
---
 meta/recipes-devtools/python/python3-mako_1.3.10.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-mako_1.3.10.bb +2 -0
index 2d937dc184..76e8cb8f77 100644
@@ -10,6 +10,8 @@ inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 SRC_URI[sha256sum] = "99579a6f39583fa7e5630a28c3c1f440e4e97a414b80372649c0ce338da2ea28"
 
+CVE_PRODUCT = "makotemplates:mako sqlalchemy:mako"
+
 RDEPENDS:${PN} = "python3-html \
                   python3-markupsafe \
                   python3-misc \
Signature · 1 line
2.35.6