[krbdev.mit.edu #9287] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Tue Nov 17 14:41:44 EST 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9287 >
Prevent read underrun on empty db_args tl-data
In extract_db_args_from_tl_data(), reject a zero-length
KRB5_TL_DB_ARGS value before reading its last byte to check for a null
terminator. kadmind can receive such a value from a client with add
or modify privileges, causing a one-byte read before a zero-size heap
allocation and possibly a further over-read in the KDB module.
(cherry picked from commit 7aaada396eb3a43169916d551956fd7f03bf1d60)
https://github.com/krb5/krb5/commit/f691f657c5ab560703c7adf4dcab6e3ecc205886
Author: ubeddulla khan <ubed at bugqore.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: f691f657c5ab560703c7adf4dcab6e3ecc205886
Branch: krb5-1.22
src/lib/kdb/kdb5.c | 3 ++-
src/tests/kdbtest.c | 8 ++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
More information about the krb5-bugs
mailing list