[17210] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #9233] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Mon Nov 9 12:01:00 2026

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-3128966-1794243654-529.9233-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #9233":;
Date: Mon, 09 Nov 2026 12:00:54 -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=9233 >


Prevent buffer overrun in old leashdll functions

Leash_kinit_dlg() and Leash_changepwd_dlg() use a dialog callback
function PasswordProc().  If the caller supplies a principal name
longer than 254 bytes via lpdlginfo->principal, PasswordProc() writes
beyond the bounds of a stack-allocated array.  Reported by Rahul
Hoysala.

These functions are both deprecated in favor of _ex variants (which
use a different dialog callback) and are not used by Leash.

(cherry picked from commit 3e5cb96070fbd83f09098a14e220efc85056c572)

https://github.com/krb5/krb5/commit/6bb3da80cb227fc3e75ca1c13867c4bf46115397
Author: Greg Hudson <ghudson@mit.edu>
Commit: 6bb3da80cb227fc3e75ca1c13867c4bf46115397
Branch: krb5-1.22
 src/windows/leashdll/lsh_pwd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post