[krbdev.mit.edu #9296] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Tue Nov 24 03:45:54 EST 2026
Tue Nov 24 03:45:54 2026: Request 9296 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=9296 >
Prevent count overflow in LDAP key decoding
In decode_keys(), reject a total key count which would exceed
INT16_MAX. Each krbPrincipalKey value can decode to up to 32767 keys,
so summing several values could wrap total_keys to a small positive
number, causing krb5_decode_krbsecretkey() to allocate too small of a
key_data array and overflow it when copying the keysets.
https://github.com/krb5/krb5/commit/534400f90221f3f5d1eb25520490aaa3a6d18eaf
Author: Aysha Afrah Ziya <aysha26 at digiscrypt.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 534400f90221f3f5d1eb25520490aaa3a6d18eaf
Branch: master
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
More information about the krb5-bugs
mailing list