[krbdev.mit.edu #9218] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Mon Aug 31 22:48:04 EDT 2026


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


Better validate key_data_ver in iprop decoding

In ulog_conv_2dbentry(), when decoding an update's AT_KEYDATA
attribute, the decoded key_data_ver value is used as a bound on the
enctype and contents fields.  Verify that this value does not exceed
the sizes of the update's enctype and contents XDR arrays, to prevent
reading past the end of those arrays.  Also check against the expected
lower bound.  Reported by Haruki Oyama.

(cherry picked from commit 7262b0f49e3c37b7237280a1b2e38228831a795d)

https://github.com/krb5/krb5/commit/a42fb6d76ecc7b45fd5cac6025204ae883b0d0a5
Author: Greg Hudson <ghudson at mit.edu>
Commit: a42fb6d76ecc7b45fd5cac6025204ae883b0d0a5
Branch: krb5-1.22
 src/lib/kdb/kdb_convert.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)



More information about the krb5-bugs mailing list