diff mbox series

[scarthgap,3/3] vim: move CVE-2025-66476 status to shared include

Message ID 20261128055410.1928584-3-dkelaiya@cisco.com
State New
Headers show
Series [scarthgap,1/3] vim: correct CVE_PRODUCT mapping | expand

Commit Message

From: Darsh Kelaiya <dkelaiya@cisco.com>

Move the existing CVE_STATUS entry from vim_9.1.bb to vim.inc so
vim-tiny also inherits the platform exclusion. Both recipes require
the shared include.

The vulnerability concerns command lookup through cmd.exe on Windows
and does not apply to these Linux recipes.

Reference: https://nvd.nist.gov/vuln/detail/CVE-2025-66476

Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
---
 meta/recipes-support/vim/vim.inc    | 2 ++
 meta/recipes-support/vim/vim_9.1.bb | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 3a8b67085a2..34201807775 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -69,6 +69,8 @@  UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0"
 # Ignore that the upstream version .z in x.y.z is always newer
 UPSTREAM_VERSION_UNKNOWN = "1"
 
+CVE_STATUS[CVE-2025-66476] = "not-applicable-platform: Issue only applies on Windows"
+
 CVE_STATUS[CVE-2026-51400] = "not-applicable-platform: Vulnerable code is in src/os_vms.c, which is not compiled for Linux builds."
 
 CVE_STATUS[CVE-2026-51401] = "not-applicable-platform: Vulnerable code is in src/os_vms.c, which is not compiled for Linux builds."
diff --git a/meta/recipes-support/vim/vim_9.1.bb b/meta/recipes-support/vim/vim_9.1.bb
index 5465a6ef91c..d31d277faee 100644
--- a/meta/recipes-support/vim/vim_9.1.bb
+++ b/meta/recipes-support/vim/vim_9.1.bb
@@ -23,5 +23,3 @@  ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
 # in many places for _FORTIFY_SOURCE=2.  Security flags become part of CC.
 #
 lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"
-
-CVE_STATUS[CVE-2025-66476] = "not-applicable-platform: Issue only applies on Windows"