Bug 1093837 - (CVE-2014-0198) CVE-2014-0198 openssl: SSL_MODE_RELEASE_BUFFERS NULL pointer dereference in do_ssl3_write()
CVE-2014-0198 openssl: SSL_MODE_RELEASE_BUFFERS NULL pointer dereference in d...
Status: CLOSED ERRATA
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=20140421,repor...
: Security
Depends On: 1096233 1096234 1103604 1103605 1103632 1103633 1103741 1104349 1104350 1127889
Blocks: 1093849 1103601
  Show dependency treegraph
 
Reported: 2014-05-02 15:09 EDT by Kurt Seifried
Modified: 2016-04-27 01:32 EDT (History)
57 users (show)

See Also:
Fixed In Version: openssl 1.0.1h, openssl 1.0.0m
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-11 01:27:28 EDT
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 Kurt Seifried 2014-05-02 15:09:45 EDT
The OpenBSD Project reports:

An attacker can trigger generation of an SSL alert which could cause a null pointer dereference.

External references:
http://ftp.openbsd.org/pub/OpenBSD/patches/5.5/common/005_openssl.patch.sig
https://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3321
Comment 1 Tomas Hoger 2014-05-05 05:23:04 EDT
This issue can happen when SSL_MODE_RELEASE_BUFFERS mode is enabled.  Support for SSL_MODE_RELEASE_BUFFERS was only introduced upstream in OpenSSL version 1.0.0, so this does not affect openssl packages in Red Hat Enterprise Linux 5 and earlier.

https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8671b89

In Red Hat Enterprise Linux 6, the only package that enabled SSL_MODE_RELEASE_BUFFERS is tog-pegasus.  There are other packages in several layered product run on top of Red Hat Enterprise Linux 6 - ruby193-ruby, nodejs, nodejs010-nodejs, haproxy15side.  These are included in one or more of the following products: Red Hat Software Collections, Red Hat OpenShift Enterprise, and Red Hat Enterprise Linux - OpenStack Platform.
Comment 3 Tomas Hoger 2014-05-09 09:40:34 EDT
Statement:

This issue did not affect the openssl packages shipped with Red Hat Enterprise Linux 5.
Comment 4 Tomas Hoger 2014-05-09 09:52:32 EDT
Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1096233]
Comment 5 Tomas Hoger 2014-05-09 09:52:38 EDT
Created mingw-openssl tracking bugs for this issue:

Affects: fedora-all [bug 1096234]
Comment 6 Tomas Hoger 2014-05-12 05:22:48 EDT
OpenSSL upstream commit, as applied to 1.0.1 branch:

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

The fix is not needed for master/1.0.2 branch, which already contains different fix for the issue, that upstream does not plan to backport to 1.0.1 and 1.0.0, see upstream bug for details.

https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=3ef477c
Comment 9 Tomas Hoger 2014-06-05 07:44:08 EDT
Fixed upstream in OpenSSL 1.0.1h and 1.0.0m.

External References:

https://www.openssl.org/news/secadv_20140605.txt
Comment 10 errata-xmlrpc 2014-06-05 07:54:00 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0625 https://rhn.redhat.com/errata/RHSA-2014-0625.html
Comment 11 errata-xmlrpc 2014-06-05 08:15:51 EDT
This issue has been addressed in following products:

  Red Hat Storage 2.1

Via RHSA-2014:0628 https://rhn.redhat.com/errata/RHSA-2014-0628.html
Comment 12 Fedora Update System 2014-06-05 17:53:45 EDT
openssl-1.0.1e-38.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2014-06-05 17:54:40 EDT
openssl-1.0.1e-38.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 14 errata-xmlrpc 2014-06-10 08:25:21 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:0679 https://rhn.redhat.com/errata/RHSA-2014-0679.html

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