[krbdev.mit.edu #8933] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Wed Sep 9 17:03:01 EDT 2020


Wed Sep 09 17:03:01 2020: Request 8933 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=8933 >



Fix input length checking in SPNEGO DER decoding

In get_mech_set(), check the length before reading the first byte, and
decrease the length by the tag byte when reading and verifying the
sequence length.

In get_req_flags(), check the length before reading the first byte,
and check the context tag length after decoding it.

https://github.com/krb5/krb5/commit/64f4b75a22212681ca293f8f09ddd24b0244d5b4
Author: Greg Hudson <ghudson at mit.edu>
Commit: 64f4b75a22212681ca293f8f09ddd24b0244d5b4
Branch: master
 src/lib/gssapi/spnego/spnego_mech.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)



More information about the krb5-bugs mailing list