CVEfocus › CVE database › CVE-2017-3737

CVE-2017-3737

CVSS 5.9 MediumEPSS 78.7% (in the top 1% of all CVEs)Published 2017-12-07Updated 2024-09-17Assigner: openssl

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.

What to do

Likely to be exploited: EPSS gives a 79% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
14Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04opensslFixed1.0.2g-1ubuntu4.10UBUNTU-CVE-2017-3737
Debian 14opensslFixed1.1.0b-2DEBIAN-CVE-2017-3737
Debian 13opensslFixed1.1.0b-2DEBIAN-CVE-2017-3737
Debian 12opensslFixed1.1.0b-2DEBIAN-CVE-2017-3737
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8openssl-develNot affected
Red Hat Enterprise Linux 8openssl-libsNot affected
Red Hat Enterprise Linux 8openssl-perlNot affected
Red Hat Enterprise Linux 8openssl-staticNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslFixed1:1.0.2k-12.el7RHSA-2018:0998
Red Hat Enterprise Linux 7openssl-develFixed1:1.0.2k-12.el7RHSA-2018:0998
Red Hat Enterprise Linux 7openssl-libsFixed1:1.0.2k-12.el7RHSA-2018:0998
Red Hat Enterprise Linux 7openssl-perlFixed1:1.0.2k-12.el7RHSA-2018:0998
Red Hat Enterprise Linux 7openssl-staticFixed1:1.0.2k-12.el7RHSA-2018:0998
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 5opensslNot affected
Red Hat Enterprise Linux 5openssl097aNot affected
Alpine Linux 3.8opensslFixed1.0.2n-r0ALPINE-CVE-2017-3737
Alpine Linux 3.7opensslFixed1.0.2n-r0ALPINE-CVE-2017-3737
Alpine Linux 3.6opensslFixed1.0.2n-r0ALPINE-CVE-2017-3737
Alpine Linux 3.5opensslFixed1.0.2n-r0ALPINE-CVE-2017-3737
Alpine Linux 3.4opensslFixed1.0.2n-r0ALPINE-CVE-2017-3737
Alpine Linux 3.3opensslFixed1.0.2n-r0ALPINE-CVE-2017-3737

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.