]> git.ipfire.org Git - thirdparty/openssl.git/commit
Sanity check ticket length.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 23 Aug 2016 17:14:54 +0000 (18:14 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 23 Aug 2016 22:34:07 +0000 (23:34 +0100)
commit1bbe48ab149893a78bf99c8eb8895c928900a16f
tree3298dae3507b0bdd7e08608f7fc35ae7af37af81
parent3612ff6fcec0e3d1f2a598135fe12177c0419582
Sanity check ticket length.

If a ticket callback changes the HMAC digest to SHA512 the existing
sanity checks are not sufficient and an attacker could perform a DoS
attack with a malformed ticket. Add additional checks based on
HMAC size.

Thanks to Shi Lei for reporting this bug.

CVE-2016-6302

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit baaabfd8fdcec04a691695fad9a664bea43202b6)
ssl/t1_lib.c