[krbdev.mit.edu #9234] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Nov 9 11:57:07 EST 2026


Mon Nov 09 11:57:07 2026: Request 9234 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=9234 >



Prevent read overruns in GSSRPC svcauth_unix

In gssrpc__svcauth_unix(), msg->rm_call.cb_cred.oa_length is only
validated after msg->rm_call.cb_cred.oa_base is parsed, admitting read
overruns if the message is undersized.  Replace the retrospective
validation with checks before parsing and after each interior length
is read.  Reported by Cem Onat Karagun.

https://github.com/krb5/krb5/commit/964fca13050673c620b3ec0b6fb77af1257eacd5
Author: Greg Hudson <ghudson at mit.edu>
Commit: 964fca13050673c620b3ec0b6fb77af1257eacd5
Branch: master
 src/lib/rpc/svc_auth_unix.c | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)



More information about the krb5-bugs mailing list