[17236] in Kerberos-V5-bugs
[krbdev.mit.edu #9239] git commit
daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Nov 9 12:02:52 2026
From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To:
Message-ID: <rt-4.4.3-2-3131497-1794243766-530.9239-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9239":;
Date: Mon, 09 Nov 2026 12:02:46 -0500
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9239 >
Check type of otherName value in PKINIT SAN code
In crypto_retrieve_X509_sans(), when we process a general name of type
AnotherName, check the ASN.1 type of the value before retrieving the
sequence or string pointer and length. Otherwise the function may
dereference a null or invalid pointer and crash. Discovered by
Alexandru-Ionut Jipa using Claude.
(cherry picked from commit f59a89c297045376f2a2f758d32e010d8d7b497c)
https://github.com/krb5/krb5/commit/abbc3e34f15fcfe0dbf7fd531242dceb84690c1b
Author: Greg Hudson <ghudson@mit.edu>
Commit: abbc3e34f15fcfe0dbf7fd531242dceb84690c1b
Branch: krb5-1.22
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 24 ++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs