Bug 1228608 (CVE-2015-1791) - CVE-2015-1791 OpenSSL: Race condition handling NewSessionTicket
Summary: CVE-2015-1791 OpenSSL: Race condition handling NewSessionTicket
Alias: CVE-2015-1791
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1228618 1228619 1228620 1228621 1231051 1242927 1242932 1242933 1242934
Blocks: 1227577
TreeView+ depends on / blocked
Reported: 2015-06-05 10:20 UTC by Huzaifa S. Sidhpurwala
Modified: 2023-05-12 09:47 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A race condition was found in the session handling code of OpenSSL. This issue could possibly cause a multi-threaded TLS/SSL client using OpenSSL to double free session ticket data and crash.
Clone Of:
Last Closed: 2019-06-08 02:41:47 UTC

Attachments (Terms of Use)
Proposed patch for CVE-2015-1791 (83 bytes, patch)
2015-06-05 10:31 UTC, Huzaifa S. Sidhpurwala
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1115 0 normal SHIPPED_LIVE Moderate: openssl security update 2015-06-16 00:48:46 UTC

Description Huzaifa S. Sidhpurwala 2015-06-05 10:20:25 UTC
The following was reported by OpenSSL upstream:

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.

This issue affects all current OpenSSL versions: 1.0.2, 1.0.1, 1.0.0 and 0.9.8.

OpenSSL 1.0.2 users should upgrade to 1.0.2b
OpenSSL 1.0.1 users should upgrade to 1.0.1n
OpenSSL 1.0.0 users should upgrade to 1.0.0s
OpenSSL 0.9.8 users should upgrade to 0.9.8zg

This issue was discovered by Emilia Käsper of the OpenSSL development team. The fix was developed by Matt Caswell of the OpenSSL development team.


Red Hat would like to thank the OpenSSL project for reporting this issue.

Comment 1 Huzaifa S. Sidhpurwala 2015-06-05 10:31:17 UTC
Created attachment 1035153 [details]
Proposed patch for CVE-2015-1791

Comment 4 Huzaifa S. Sidhpurwala 2015-06-12 04:16:49 UTC


Comment 5 Huzaifa S. Sidhpurwala 2015-06-12 05:56:10 UTC
Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1231051]

Comment 6 errata-xmlrpc 2015-06-15 20:49:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

Via RHSA-2015:1115 https://rhn.redhat.com/errata/RHSA-2015-1115.html

Comment 7 Huzaifa S. Sidhpurwala 2015-06-16 01:36:10 UTC

This issue does NOT affect the version of OpenSSL package as shipped with Red Hat Enterprise Linux 5.

Comment 8 Fedora Update System 2015-06-21 00:19:16 UTC
openssl-1.0.1k-10.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-06-24 15:57:42 UTC
openssl-1.0.1k-10.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.