[krbdev.mit.edu #8994] git commit
Greg Hudson via RT
rt-comment at krbdev.mit.edu
Wed Mar 31 02:12:55 EDT 2021
Wed Mar 31 02:12:55 2021: Request 8994 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=8994 >
Fix gss-krb5 handling of high sequence numbers
Commits abcfdaff756631d73f49103f679cafa7bc45f14e and
41ddaaeb286e8bb1bba64fb557ba0e4cff9b404d incorrectly changed the
interpretation of authenticator sequence numbers in the range
2^31..2^32-1, mapping them to sign-extended 64-bit values. The major
Kerberos implementations do not generate sequence numbers this large,
so the changed went unnoticed. Prevent unwanted sign extension by
casting sequence numbers retrieved from auth contexts to uint32_t
before assigning them to uint64_t fields. Reported by Jake Scott.
https://github.com/krb5/krb5/commit/dac8de0b26b9b67c1b03067c1ec90b81114ff370
Author: Greg Hudson <ghudson at mit.edu>
Commit: dac8de0b26b9b67c1b03067c1ec90b81114ff370
Branch: master
src/lib/gssapi/krb5/accept_sec_context.c | 4 ++--
src/lib/gssapi/krb5/init_sec_context.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
More information about the krb5-bugs
mailing list