From 077627338ac18aeca34bfe0c52777fab38e2e0c0 Mon Sep 17 00:00:00 2001 From: Devansh Patel Date: Mon, 27 Jul 2026 21:59:01 -0700 Subject: [PATCH] openssh: set status for CVE-2026-59998 Analysis: - CVE-2026-59998 concerns an undocumented limitation of GSSAPIStrictAcceptorCheck in Windows Active Directory environments [1]. - Upstream OpenSSH 10.4 only documents the existing behavior and provides no code remediation [2]. - The recipe disables Kerberos/GSSAPI by default. Mark the CVE not-applicable-config when PACKAGECONFIG lacks kerberos, and unpatched when kerberos is enabled. Reference: [1] https://nvd.nist.gov/vuln/detail/CVE-2026-59998 [2] https://github.com/openssh/openssh-portable/commit/8058c5bdb507591b79ec926221fbe6fcc296d432 (From OE-Core rev: 543550522f831479f07d332a40ba343c53ae1065) Signed-off-by: Devansh Patel [YC: See previous version of this patch for context about ignoring vs this CVE vs patching: https://patchwork.yoctoproject.org/project/oe-core/patch/20260720175518.3546447-3-devanshp@cisco.com/#40497 ] Signed-off-by: Yoann Congal Signed-off-by: Paul Barker --- meta/recipes-connectivity/openssh/openssh_9.6p1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb index ba8aaad9bb..b48e262c72 100644 --- a/meta/recipes-connectivity/openssh/openssh_9.6p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_9.6p1.bb @@ -57,6 +57,7 @@ Red Hat Enterprise Linux 7 and when running in a Kerberos environment" CVE_STATUS[CVE-2008-3844] = "not-applicable-platform: Only applies to some distributed RHEL binaries." CVE_STATUS[CVE-2023-51767] = "upstream-wontfix: It was demonstrated on modified sshd and does not exist in upstream openssh https://bugzilla.mindrot.org/show_bug.cgi?id=3656#c1." CVE_STATUS[CVE-2026-3497] = "not-applicable-platform: Only affects GSSAPI Key Exchange patches used by some Linux distributions and does not exist in upstream openssh." +CVE_STATUS[CVE-2026-59998] = "${@bb.utils.contains('PACKAGECONFIG', 'kerberos', 'unpatched', 'not-applicable-config: GSSAPI/Kerberos support is disabled in the default OpenSSH configuration', d)}" PAM_SRC_URI = "file://sshd"