CVE-2017-3737
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
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 78.7% · top 0.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
- Unauthenticated read/unencrypted write
- CWE-125 (opens in a new tab)Other CVEs with CWE-125
- CWE-787 (opens in a new tab)Other CVEs with CWE-787
Affected products
OpenSSL Software Foundation · OpenSSL
- affected 1.0.2b-1.0.2m
References (21)
- RHSA-2018:2185 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2186 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20180419-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- FreeBSD-SA-17:12 (opens in a new tab)vendor-advisoryx_refsource_FREEBSDx_transferred
- GLSA-201712-03 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 1039978 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://www.openssl.org/news/secadv/20171207.txt (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.digitalmunition.me/2017/12/cve-2017-3737-openssl-security-bypass-vulnerability/ (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:0998 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-4065 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-179516.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
- 102103 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.tenable.com/security/tns-2017-16 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2187 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://security.netapp.com/advisory/ntap-20180117-0002/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.netapp.com/advisory/ntap-20171208-0001/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-3737)Record last updated .