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 Scarthgap Mako 1.3.2 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.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-mako_1.3.2.bb +2 -0
index 5b7df9192f..d6fdacf7ac 100644
@@ -10,6 +10,8 @@ inherit pypi python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "2a0c8ad7f6274271b3bb7467dd37cf9cc6dab4bc19cb69a4ef10669402de698e"
 
+CVE_PRODUCT = "makotemplates:mako sqlalchemy:mako"
+
 RDEPENDS:${PN} = "python3-html \
                   python3-markupsafe \
                   python3-netclient \
Signature · 1 line
2.35.6