]> granicus.if.org Git - openssl/commit
Fix OCSP Status Request extension unbounded memory growth
authorMatt Caswell <matt@openssl.org>
Fri, 9 Sep 2016 09:08:45 +0000 (10:08 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 22 Sep 2016 08:22:05 +0000 (09:22 +0100)
commitea39b16b71e4e72a228a4535bd6d6a02c5edbc1f
treeaa68d0337d415c490aba648c18c1f07fac98e796
parent90d6f35162a9515287e75248e1f880cd1cc92c1f
Fix OCSP Status Request extension unbounded memory growth

A malicious client can send an excessively large OCSP Status Request
extension. If that client continually requests renegotiation,
sending a large OCSP Status Request extension each time, then there will
be unbounded memory growth on the server. This will eventually lead to a
Denial Of Service attack through memory exhaustion. Servers with a
default configuration are vulnerable even if they do not support OCSP.
Builds using the "no-ocsp" build time option are not affected.

I have also checked other extensions to see if they suffer from a similar
problem but I could not find any other issues.

CVE-2016-6304

Issue reported by Shi Lei.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/t1_lib.c