Skip to content
OpenAdvisories
Unscored CVE-2017-3737 EUVD-2017-12854GHSA-fwxf-w2h7-9w25

OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an "error state" mechanism. The intent was that if a fatal error occurred during a …

Published Dec 7, 2017 · Updated Sep 17, 2024 · Assigned by openssl

Description

OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an "error state" mechanism. The intent was that if a fatal error occurred during a handshake then OpenSSL would move into the error state and would immediately fail if you attempted to continue the handshake. This works as designed for the explicit handshake functions (SSL_do_handshake(), SSL_accept() and SSL_connect()), however due to a bug it does not work correctly if SSL_read() or SSL_write() is called directly. In that scenario, if the handshake fails then a fatal error will be returned in the initial function call. If SSL_read()/SSL_write() is subsequently called by the application for the same SSL object then it will succeed and the data is passed without being decrypted/encrypted directly from the SSL/TLS record layer. In order to exploit this issue an application bug would have to be present that resulted in a call to SSL_read()/SSL_write() being issued after having already received a fatal error. OpenSSL version 1.0.2b-1.0.2m are affected. Fixed in OpenSSL 1.0.2n. OpenSSL 1.1.0 is not affected.

Affected products

VendorProductAffectedFixed
OpenSSL Software Foundation OpenSSL 1.0.2b-1.0.2m —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 1.1.0b-2 —
Debian 13 openssl 1.1.0b-2 —
Debian 12 openssl 1.1.0b-2 —
Debian 9 openssl1.0 1.0.2l-2+deb9u2 DSA-4065-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS openssl 1.0.2g-1ubuntu4.10 USN-3512-1
ReleasePackageFixed inAdvisory
RHEL 7 openssl +4 1:1.0.2k-12.el7 RHSA-2018:0998
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Core Services 1 jbcs-httpd24-apache-commons-daemon 1.1.0-1.redhat_2.1.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-apache-commons-daemon-jsvc 1:1.1.0-1.redhat_2.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-apr +1 1.6.3-14.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-apr-util +8 1.6.1-9.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.29-17.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_auth_kerb 5.4-36.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_bmx 0.9.6-17.GA.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_cluster-native 1.3.8-1.Final_redhat_2.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +2 1.2.43-1.redhat_1.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_rt 2.4.1-19.GA.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.1-23.GA.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.29-17.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-nghttp2 +1 1.29.0-8.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.0.2n-11.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
ReleasePackageFixed inAdvisory
SLES 12 SP3 openssl 1.0.2j-60.20.2 SUSE-SU-2017:3343-1
SLES 12 SP2 openssl 1.0.2j-60.20.2 SUSE-SU-2017:3343-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 openssl 1.0.2j-60.20.2 SUSE-SU-2017:3343-1
SLES for SAP 12 SP2 openssl 1.0.2j-60.20.2 SUSE-SU-2017:3343-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-1_0_0 1.0.2u-6.2 openSUSE-SU-2024:11126-1
ReleasePackageFixed inAdvisory
Alpine v3.8 openssl 1.0.2n-r0 —
Alpine v3.7 openssl 1.0.2n-r0 —
Alpine v3.6 openssl 1.0.2n-r0 —
Alpine v3.5 openssl 1.0.2n-r0 —
Alpine v3.4 openssl 1.0.2n-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.3 openssl 1.0.2n-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 openssl +4 1:1.0.2k-12.amzn2.0.1 ALAS2-2018-1004

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 openssl +4 1:1.0.2k-12.0.1.el7 ELSA-2018-0998

Advisories 16

References