[krbdev.mit.edu #9073] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Tue Nov 15 11:30:12 EST 2022
Tue Nov 15 11:30:12 2022: Request 9073 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=9073 >
Fix null deref in KDC when decoding invalid NDR
In ndr_dec_delegation_info(), keep di->transited_services_length valid
by incrementing it as we add entries. Otherwise
ndr_free_delegation_info() could dereference a null
di->transited_services field. Also bound nservices using data->length
to prevent inordinately large memory allocations. Credit to OSS-Fuzz
for discovering the issues.
https://github.com/krb5/krb5/commit/fa62bd33a0c0889c083999c0289ffa81a5d51e7b
Author: Greg Hudson <ghudson at mit.edu>
Commit: fa62bd33a0c0889c083999c0289ffa81a5d51e7b
Branch: master
src/kdc/ndr.c | 14 +++++++-------
src/kdc/t_ndr.c | 32 +++++++++++++++++++++++++++++---
2 files changed, 36 insertions(+), 10 deletions(-)
More information about the krb5-bugs
mailing list