[krbdev.mit.edu #9241] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Nov 9 12:02:19 EST 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9241 >
Remove unsafe principal parsing from Leashdll
In Leash_int_kinit_ex(), remove the code to parse and reassemble the
principal name; it has no length checks and could overflow
stack-allocated buffers if a long principal name is supplied. This
parsing code was used to perform krb4 fallbacks if getting tickets via
krb5 failed, and is no longer useful.
Discovered by Aisle Research.
(cherry picked from commit 54b7bbe13dd1d4d2646c4fbcc8d68925603924fb)
https://github.com/krb5/krb5/commit/faf817da5341b849fd53e191ef05b54151195632
Author: Greg Hudson <ghudson at mit.edu>
Commit: faf817da5341b849fd53e191ef05b54151195632
Branch: krb5-1.22
src/windows/leashdll/lshfunc.c | 82 ++++--------------------------------------
1 file changed, 7 insertions(+), 75 deletions(-)
More information about the krb5-bugs
mailing list