Revision b095884a58876ccd3e65f620b7f80d61b4bce687 authored by Matt Caswell on 07 January 2015, 14:18:13 UTC, committed by Matt Caswell on 08 January 2015, 14:14:56 UTC
ssl3_setup_buffers or pqueue_insert fail. The former will fail if there is a malloc failure, whilst the latter will fail if attempting to add a duplicate record to the queue. This should never happen because duplicate records should be detected and dropped before any attempt to add them to the queue. Unfortunately records that arrive that are for the next epoch are not being recorded correctly, and therefore replays are not being detected. Additionally, these "should not happen" failures that can occur in dtls1_buffer_record are not being treated as fatal and therefore an attacker could exploit this by sending repeated replay records for the next epoch, eventually causing a DoS through memory exhaustion. Thanks to Chris Mueller for reporting this issue and providing initial analysis and a patch. Further analysis and the final patch was performed by Matt Caswell from the OpenSSL development team. CVE-2015-0206 Reviewed-by: Dr Stephen Henson <steve@openssl.org> (cherry picked from commit 652ff0f4796eecd8729b4690f2076d1c7ccb2862)
1 parent f7fe3d2
File | Mode | Size |
---|---|---|
.cvsignore | -rw-r--r-- | 39 bytes |
Makefile | -rw-r--r-- | 58.6 KB |
bio_ssl.c | -rw-r--r-- | 13.9 KB |
d1_both.c | -rw-r--r-- | 40.5 KB |
d1_clnt.c | -rw-r--r-- | 40.1 KB |
d1_enc.c | -rw-r--r-- | 9.2 KB |
d1_lib.c | -rw-r--r-- | 13.2 KB |
d1_meth.c | -rw-r--r-- | 3.1 KB |
d1_pkt.c | -rw-r--r-- | 48.5 KB |
d1_srvr.c | -rw-r--r-- | 39.7 KB |
dtls1.h | -rw-r--r-- | 7.7 KB |
install-ssl.com | -rwxr-xr-x | 3.2 KB |
kssl.c | -rw-r--r-- | 67.7 KB |
kssl.h | -rw-r--r-- | 6.0 KB |
kssl_lcl.h | -rw-r--r-- | 3.4 KB |
s23_clnt.c | -rw-r--r-- | 18.8 KB |
s23_lib.c | -rw-r--r-- | 5.5 KB |
s23_meth.c | -rw-r--r-- | 3.7 KB |
s23_pkt.c | -rw-r--r-- | 4.1 KB |
s23_srvr.c | -rw-r--r-- | 17.5 KB |
s2_clnt.c | -rw-r--r-- | 30.1 KB |
s2_enc.c | -rw-r--r-- | 6.2 KB |
s2_lib.c | -rw-r--r-- | 13.2 KB |
s2_meth.c | -rw-r--r-- | 3.6 KB |
s2_pkt.c | -rw-r--r-- | 19.8 KB |
s2_srvr.c | -rw-r--r-- | 31.5 KB |
s3_both.c | -rw-r--r-- | 22.5 KB |
s3_cbc.c | -rw-r--r-- | 24.5 KB |
s3_clnt.c | -rw-r--r-- | 77.8 KB |
s3_enc.c | -rw-r--r-- | 25.8 KB |
s3_lib.c | -rw-r--r-- | 65.5 KB |
s3_meth.c | -rw-r--r-- | 3.5 KB |
s3_pkt.c | -rw-r--r-- | 42.0 KB |
s3_srvr.c | -rw-r--r-- | 81.6 KB |
ssl-lib.com | -rw-r--r-- | 26.0 KB |
ssl.h | -rw-r--r-- | 92.6 KB |
ssl2.h | -rw-r--r-- | 10.5 KB |
ssl23.h | -rw-r--r-- | 3.7 KB |
ssl3.h | -rw-r--r-- | 25.6 KB |
ssl_algs.c | -rw-r--r-- | 5.2 KB |
ssl_asn1.c | -rw-r--r-- | 18.4 KB |
ssl_cert.c | -rw-r--r-- | 20.5 KB |
ssl_ciph.c | -rw-r--r-- | 48.2 KB |
ssl_err.c | -rw-r--r-- | 36.3 KB |
ssl_err2.c | -rw-r--r-- | 3.3 KB |
ssl_lib.c | -rw-r--r-- | 75.0 KB |
ssl_locl.h | -rw-r--r-- | 39.2 KB |
ssl_rsa.c | -rw-r--r-- | 17.7 KB |
ssl_sess.c | -rw-r--r-- | 31.9 KB |
ssl_stat.c | -rw-r--r-- | 23.9 KB |
ssl_task.c | -rw-r--r-- | 12.4 KB |
ssl_txt.c | -rw-r--r-- | 8.2 KB |
ssltest.c | -rw-r--r-- | 60.5 KB |
t1_clnt.c | -rw-r--r-- | 3.6 KB |
t1_enc.c | -rw-r--r-- | 30.6 KB |
t1_lib.c | -rw-r--r-- | 52.5 KB |
t1_meth.c | -rw-r--r-- | 3.5 KB |
t1_reneg.c | -rw-r--r-- | 10.8 KB |
t1_srvr.c | -rw-r--r-- | 3.6 KB |
tls1.h | -rw-r--r-- | 25.5 KB |

Computing file changes ...