[krbdev.mit.edu #9240] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Nov 9 12:02:15 EST 2026


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9240 >


Add space checks in Leash_krb5_kinit() prompter

MultiInputDialog() is used by the prompter callback supplied by
leashdll initial ticket APIs to krb5_get_init_creds_password().  Add
space checks to this function to prevent a possible buffer overflow if
the prompter is invoked with a long banner string.

Large prompts are currently only admitted by the FAST OTP client
preauth mechanism, which requires the KDC to be authenticated to the
client via the armor ticket.

Discovered by Aisle Research.

(cherry picked from commit 607eb2776c3ae243f2eab2a630f8c10894180e7f)

https://github.com/krb5/krb5/commit/0c24f23ea546e4637d95bd62f35103b7006b5ab0
Author: Greg Hudson <ghudson at mit.edu>
Commit: 0c24f23ea546e4637d95bd62f35103b7006b5ab0
Branch: krb5-1.22
 src/windows/leashdll/krb5routines.c | 53 +++++++++++++++++++++++++++++++++++--
 1 file changed, 51 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list