[krbdev.mit.edu #8933] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Tue Nov 3 13:14:51 EST 2020
<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.
(cherry picked from commit 64f4b75a22212681ca293f8f09ddd24b0244d5b4)
https://github.com/krb5/krb5/commit/9e65436cb03d6f0ec93c6fdef68af8ed6077e997
Author: Greg Hudson <ghudson at mit.edu>
Commit: 9e65436cb03d6f0ec93c6fdef68af8ed6077e997
Branch: krb5-1.17
src/lib/gssapi/spnego/spnego_mech.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
More information about the krb5-bugs
mailing list