[krbdev.mit.edu #9240] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 9 11:59:07 EST 2026


Mon Nov 09 11:59:07 2026: Request 9240 was acted upon.
 Transaction: Ticket created by ghudson at mit.edu
       Queue: krb5
     Subject: git commit
       Owner: ghudson at mit.edu
  Requestors: 
      Status: new
 Ticket <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.

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



More information about the krb5-bugs mailing list