Bug 1127498 - (CVE-2014-3509) CVE-2014-3509 openssl: race condition in ssl_parse_serverhello_tlsext
CVE-2014-3509 openssl: race condition in ssl_parse_serverhello_tlsext
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140806,repor...
: Security
Depends On: 1127695 1127696 1127697 1127698 1127704 1127705 1127709 1128405 1128406 1128961 1181611
Blocks: 1127468 1127506
  Show dependency treegraph
 
Reported: 2014-08-06 21:57 EDT by Andrew Griffiths
Modified: 2016-04-18 21:17 EDT (History)
58 users (show)

See Also:
Fixed In Version: openssl 1.0.1i, openssl 1.0.0n
Doc Type: Bug Fix
Doc Text:
A race condition was found in the way OpenSSL handled ServerHello messages with an included Supported EC Point Format extension. A malicious server could possibly use this flaw to cause a multi-threaded TLS/SSL client using OpenSSL to write into freed memory, causing the client to crash or execute arbitrary code.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrew Griffiths 2014-08-06 21:57:35 EDT
A race condition was found in the ssl_parse_serverhello_tlsext() code that may result in upto 255 bytes being written to memory that had been free'd if an ec point format extension was sent by the server. This issue only affects multi-threaded clients.
Comment 1 Arun Babu Neelicattu 2014-08-07 01:52:29 EDT
External References:

https://www.openssl.org/news/secadv_20140806.txt
Comment 4 Tomas Hoger 2014-08-07 04:31:25 EDT
Affected code that implements support for Supported Point Formats Extension for ECC ciphersuites was originally introduced in the following commit:

https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=36ca4ba6

This code was added upstream in version 1.0.0.  Therefore, openssl packages in Red Hat Enterprise Linux 5 and earlier, which are based on upstream version 0.9.8 and earlier, are not affected by this issue.

Additionally, the openssl packages shipped in Red Hat Enterprise Linux 6 prior to update RHBA-2013:1585 released as part of Red Hat Enterprise Linux 6.5 were also not affected, as Elliptic Curve Cryptography (ECC) support was not enabled.
Comment 6 Tomas Hoger 2014-08-07 07:35:07 EDT
Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1127704]
Comment 7 Tomas Hoger 2014-08-07 07:35:13 EDT
Created mingw-openssl tracking bugs for this issue:

Affects: fedora-all [bug 1127705]
Comment 8 Tomas Hoger 2014-08-07 07:40:12 EDT
Created mingw-openssl tracking bugs for this issue:

Affects: epel-7 [bug 1127709]
Comment 9 Fedora Update System 2014-08-09 03:34:19 EDT
openssl-1.0.1e-39.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2014-08-09 03:35:29 EDT
openssl-1.0.1e-39.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Martin Prpic 2014-08-12 03:40:16 EDT
IssueDescription:

A race condition was found in the way OpenSSL handled ServerHello messages with an included Supported EC Point Format extension. A malicious server could possibly use this flaw to cause a multi-threaded TLS/SSL client using OpenSSL to write into freed memory, causing the client to crash or execute arbitrary code.
Comment 13 errata-xmlrpc 2014-08-13 17:33:21 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6
  Red Hat Enterprise Linux 7

Via RHSA-2014:1052 https://rhn.redhat.com/errata/RHSA-2014-1052.html
Comment 14 errata-xmlrpc 2014-08-14 00:44:52 EDT
This issue has been addressed in following products:

  Red Hat Storage 2.1

Via RHSA-2014:1054 https://rhn.redhat.com/errata/RHSA-2014-1054.html
Comment 16 errata-xmlrpc 2015-02-11 12:44:14 EST
This issue has been addressed in the following products:

  RHEV Manager version 3.5

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

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