diff mbox series

[wrynose] python3-mako: Ignore CVE-2026-102991

Message ID 20261124094804.1558240-1-devanshp@cisco.com
State New
Delegated to: Fabien Thomas
Headers show
Series [wrynose] python3-mako: Ignore CVE-2026-102991 | expand

Commit Message

From: Devansh Patel <devanshp@cisco.com>

Analysis:
- The advisory describes drive-designator traversal on Windows in
  versions before 1.4.2. [1]
- The fix switches the Template URI check from os.path to posixpath.
  Linux already uses posixpath for os.path. [2]
- Wrynose provides Mako 1.3.12. [3]
- Yocto documents not-applicable-platform for Windows-only CVEs. [4]
- Hence ignoring the CVE for standard Wrynose Linux builds.

Reference:
[1] https://github.com/sqlalchemy/mako/security/advisories/GHSA-5639-2j2p-m4mx
[2] https://github.com/sqlalchemy/mako/commit/000ed85e4e48771eff460bf4fc721fb43de80e08
[3] https://layers.openembedded.org/layerindex/branch/wrynose/layer/openembedded-core/
[4] https://docs.yoctoproject.org/6.0/ref-manual/variables.html#term-CVE_STATUS

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

Patch

diff --git a/meta/recipes-devtools/python/python3-mako_1.3.12.bb b/meta/recipes-devtools/python/python3-mako_1.3.12.bb
index 48f6608..e76d7c9 100644
--- a/meta/recipes-devtools/python/python3-mako_1.3.12.bb
+++ b/meta/recipes-devtools/python/python3-mako_1.3.12.bb
@@ -11,6 +11,7 @@  inherit pypi python_setuptools_build_meta ptest-python-pytest
 SRC_URI[sha256sum] = "9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a"
 
 CVE_PRODUCT = "makotemplates:mako sqlalchemy:mako"
+CVE_STATUS[CVE-2026-102991] = "not-applicable-platform: Issue only applies on Windows"
 
 RDEPENDS:${PN} = "python3-html \
                   python3-markupsafe \