Matt Caswell
27c76b9b80
Fix race condition in NewSessionTicket
...
If a NewSessionTicket is received by a multi-threaded client when
attempting to reuse a previous ticket then a race condition can occur
potentially leading to a double free of the ticket data.
CVE-2015-1791
This also fixes RT#3808 where a session ID is changed for a session already
in the client session cache. Since the session ID is the key to the cache
this breaks the cache access.
Parts of this patch were inspired by this Akamai change:
c0bf69a791
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-06-02 09:30:31 +01:00
..
2005-04-11 14:17:07 +00:00
2015-01-22 09:31:38 +00:00
2015-06-01 00:30:56 +01:00
2015-05-05 20:05:21 +01:00
2015-03-19 11:11:22 +00:00
2015-01-22 09:31:38 +00:00
2015-05-22 09:44:44 +01:00
2015-01-22 09:31:38 +00:00
2015-05-13 11:21:01 +01:00
2015-02-27 20:31:28 +00:00
2015-01-22 09:31:38 +00:00
2012-05-10 15:01:26 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-05-23 06:25:12 +02:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-03-19 12:58:35 +00:00
2015-01-22 09:31:38 +00:00
2015-04-29 17:23:45 +01:00
2015-04-08 16:28:42 +02:00
2015-04-30 23:21:53 +01:00
2015-04-30 23:21:53 +01:00
2015-06-02 09:30:31 +01:00
2015-03-11 10:45:23 +00:00
2015-05-23 00:01:45 +01:00
2015-01-22 09:31:38 +00:00
2015-05-25 17:52:27 +01:00
2015-05-13 11:21:01 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-02-27 20:31:28 +00:00
2015-01-22 09:31:38 +00:00
2015-03-07 23:02:19 +01:00
2015-03-18 12:31:06 +00:00
2015-01-22 09:31:38 +00:00
2015-06-02 09:30:31 +01:00
2015-05-23 00:01:48 +01:00
2015-06-02 09:30:31 +01:00
2015-01-22 09:31:38 +00:00
2015-06-02 09:30:31 +01:00
2015-05-05 19:50:12 +01:00
2015-01-22 09:31:48 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-07 02:15:35 +01:00
2015-06-02 09:30:31 +01:00
2015-05-26 12:42:40 +02:00
2015-01-22 09:31:38 +00:00
2015-04-30 23:21:50 +01:00
2015-01-22 09:31:38 +00:00
2015-05-26 10:38:56 +01:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-01-22 09:31:38 +00:00
2015-04-16 13:50:01 -04:00