]> git.ipfire.org Git - thirdparty/krb5.git/commit
Remove incorrect KDC assertion
authorIsaac Boukris <iboukris@gmail.com>
Sat, 15 Dec 2018 09:56:36 +0000 (11:56 +0200)
committerGreg Hudson <ghudson@mit.edu>
Mon, 7 Jan 2019 03:40:58 +0000 (22:40 -0500)
commit17cc01779e8e40cc414b39bc2a99fd48bb064124
tree554d65b7e5b9ad9660a57b101e2ee4f54c42ac08
parent51246e3c5b1f7650660d562669228d5b6fe26796
Remove incorrect KDC assertion

The assertion in return_enc_padata() is reachable because
kdc_make_s4u2self_rep() may have previously added encrypted padata.
It is no longer necessary because the code uses add_pa_data_element()
instead of allocating a new list.

CVE-2018-20217:

In MIT krb5 1.8 or later, an authenticated user who can obtain a TGT
using an older encryption type (DES, DES3, or RC4) can cause an
assertion failure in the KDC by sending an S4U2Self request.

[ghudson@mit.edu: rewrote commit message with CVE description]

(cherry picked from commit 94e5eda5bb94d1d44733a49c3d9b6d1e42c74def)

ticket: 8767
version_fixed: 1.15.5
src/kdc/kdc_preauth.c
src/tests/gssapi/t_s4u.py