CVE-2017-3737
OpenSSL 1.0.2 (starting from version 1.0.2b) introduced an "error state" mechanism.
Published 8 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
78.67% probability of exploitation in the next 30 days, higher than 100% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected products
- OpenSSL Software Foundation OpenSSL
Classification
References
- access.redhat.com /errata/RHSA-2018:2185 · vendor-advisory, x_refsource_REDHAT, x_transferred
- access.redhat.com /errata/RHSA-2018:2186 · vendor-advisory, x_refsource_REDHAT, x_transferred
- github.com /openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc · x_refsource_CONFIRM, x_transferred
- oracle.com /technetwork/security-advisory/cpujul2018-4258247.html · x_refsource_CONFIRM, x_transferred
- oracle.com /technetwork/security-advisory/cpujan2018-3236628.html · x_refsource_CONFIRM, x_transferred
- security.netapp.com /advisory/ntap-20180419-0002/ · x_refsource_CONFIRM, x_transferred
- security.freebsd.org /advisories/FreeBSD-SA-17:12.openssl.asc · vendor-advisory, x_refsource_FREEBSD, x_transferred
- security.gentoo.org /glsa/201712-03 · vendor-advisory, x_refsource_GENTOO, x_transferred
- securitytracker.com /id/1039978 · vdb-entry, x_refsource_SECTRACK, x_transferred
- openssl.org /news/secadv/20171207.txt · x_refsource_CONFIRM, x_transferred
- digitalmunition.me /2017/12/cve-2017-3737-openssl-security-bypass-vulnerability/ · x_refsource_MISC, x_transferred
- access.redhat.com /errata/RHSA-2018:0998 · vendor-advisory, x_refsource_REDHAT, x_transferred
- oracle.com /technetwork/security-advisory/cpuapr2018-3678067.html · x_refsource_CONFIRM, x_transferred
- debian.org /security/2017/dsa-4065 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- cert-portal.siemens.com /productcert/pdf/ssa-179516.pdf · x_refsource_CONFIRM, x_transferred
- securityfocus.com /bid/102103 · vdb-entry, x_refsource_BID, x_transferred
- tenable.com /security/tns-2017-16 · x_refsource_CONFIRM, x_transferred
- access.redhat.com /errata/RHSA-2018:2187 · vendor-advisory, x_refsource_REDHAT, x_transferred
- security.netapp.com /advisory/ntap-20180117-0002/ · x_refsource_CONFIRM, x_transferred
- security.netapp.com /advisory/ntap-20171208-0001/ · x_refsource_CONFIRM, x_transferred
- oracle.com /technetwork/security-advisory/cpujul2019-5072835.html · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2017-3737
- NVD: CVE-2017-3737
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.