Out-of-bounds read in OpenSSL
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 13 fixed, 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-125 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenSSL | OpenSSL | 1.0.2b-1.0.2m | — | No fix listed | CNA |
- OpenSSL VendorOpenSSL Affected 1.0.2b-1.0.2m Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openssl:openssl:1.0.2b:*:*:*:*:*:*:* | 1.0.2b | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2c:*:*:*:*:*:*:* | 1.0.2c | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2d:*:*:*:*:*:*:* | 1.0.2d | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2e:*:*:*:*:*:*:* | 1.0.2e | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2f:*:*:*:*:*:*:* | 1.0.2f | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2g:*:*:*:*:*:*:* | 1.0.2g | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2h:*:*:*:*:*:*:* | 1.0.2h | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2i:*:*:*:*:*:*:* | 1.0.2i | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2j:*:*:*:*:*:*:* | 1.0.2j | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2k:*:*:*:*:*:*:* | 1.0.2k | Vulnerable | OpenSSL |
- cpe:2.3:a:openssl:openssl:1.0.2b:*:*:*:*:*:*:* Versions 1.0.2b Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2c:*:*:*:*:*:*:* Versions 1.0.2c Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2d:*:*:*:*:*:*:* Versions 1.0.2d Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2e:*:*:*:*:*:*:* Versions 1.0.2e Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2f:*:*:*:*:*:*:* Versions 1.0.2f Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2g:*:*:*:*:*:*:* Versions 1.0.2g Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2h:*:*:*:*:*:*:* Versions 1.0.2h Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2i:*:*:*:*:*:*:* Versions 1.0.2i Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2j:*:*:*:*:*:*:* Versions 1.0.2j Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2k:*:*:*:*:*:*:* Versions 1.0.2k Vulnerable ·OpenSSL
Remediation
Red Hat 4 advisories
- RHSA-2018:2186 Released 2018-07-12 · Red Hat rating ModerateRed Hat JBoss Core Services Apache HTTP Server 2.4.29 RHEL 6 security update
- Red Hat JBoss Core Services on RHEL 6 Server jbcs-httpd24-apache-commons-daemon-1.1.0-1.redhat_2.1.jbcs.el6, jbcs-httpd24-apache-commons-daemon-jsvc-1:1.1.0-1.redhat_2.jbcs.el6, jbcs-httpd24-apr-1.6.3-14.jbcs.el6 +34
- RHSA-2018:2185 Released 2018-07-12 · Red Hat rating ModerateRed Hat JBoss Core Services Apache HTTP Server 2.4.29 RHEL 7 security update
- Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-apache-commons-daemon-1.1.0-1.redhat_2.1.jbcs.el7, jbcs-httpd24-apache-commons-daemon-jsvc-1:1.1.0-1.redhat_2.jbcs.el7, jbcs-httpd24-apr-1.6.3-14.jbcs.el7 +34
- RHSA-2018:2187 Released 2018-07-12 · Red Hat rating ModerateRed Hat JBoss Core Services Apache HTTP Server 2.4.29 security update
- Red Hat JBoss Core Services
Show 1 more Red Hat advisories
- RHSA-2018:0998 Released 2018-04-10 · Red Hat rating Moderateopenssl security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) openssl-1:1.0.2k-12.el7, openssl-libs-1:1.0.2k-12.el7
- Red Hat Enterprise Linux Client Optional (v. 7) openssl-devel-1:1.0.2k-12.el7, openssl-perl-1:1.0.2k-12.el7, openssl-static-1:1.0.2k-12.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) openssl-1:1.0.2k-12.el7, openssl-libs-1:1.0.2k-12.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssl-devel-1:1.0.2k-12.el7, openssl-perl-1:1.0.2k-12.el7, openssl-static-1:1.0.2k-12.el7
- Red Hat Enterprise Linux Server (v. 7) openssl-1:1.0.2k-12.el7, openssl-devel-1:1.0.2k-12.el7, openssl-devel-1:1.0.2k-12.el7.ppc +2
- Red Hat Enterprise Linux Server Optional (v. 7) openssl-perl-1:1.0.2k-12.el7, openssl-static-1:1.0.2k-12.el7, openssl-static-1:1.0.2k-12.el7.ppc
- Red Hat Enterprise Linux Workstation (v. 7) openssl-1:1.0.2k-12.el7, openssl-devel-1:1.0.2k-12.el7, openssl-libs-1:1.0.2k-12.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) openssl-perl-1:1.0.2k-12.el7, openssl-static-1:1.0.2k-12.el7
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) openssl-1:1.0.2k-12.el7, openssl-devel-1:1.0.2k-12.el7, openssl-libs-1:1.0.2k-12.el7
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) openssl-perl-1:1.0.2k-12.el7, openssl-static-1:1.0.2k-12.el7
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
OpenSSL — FreeBSD-SA-17:12
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2017-02854 Information disclosure in OpenSSLPriority MEDIUM 41
- Advisory ·
OpenSSL — DSA-4065
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2017-02854 Information disclosure in OpenSSLPriority MEDIUM 41
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Web Server 2 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Web Server 3 | Affected | No fix yet |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:0998 |
| Red Hat JBoss Core Services | Fixed | RHSA-2018:2187 |
| Red Hat JBoss Core Services on RHEL 6 Server | Fixed | RHSA-2018:2186 |
| Red Hat JBoss Core Services on RHEL 7 Server | Fixed | RHSA-2018:2185 |
Not affected: 7 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Virtualization 3
- Red Hat JBoss Enterprise Application Platform 5
- Red Hat JBoss Enterprise Web Server 3
Timeline
- 2026-10-02 Threatist record created from CVE-2017-3737
- 2026-10-03 Alias added: GHSA-fwxf-w2h7-9w25
References
Advisory 10
Other 9
- https://github.com/openssl/openssl/commit/898fb884b706aaeb283de4812340bb0bde8476dc
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://security.netapp.com/advisory/ntap-20180419-0002/
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-179516.pdf
- https://www.tenable.com/security/tns-2017-16
- https://security.netapp.com/advisory/ntap-20180117-0002/
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
More Openssl vulnerabilities
- TI-2022-01915 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2021-02645 SM2 Decryption Buffer Overflow CVSS 3.1CRITICAL 9.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
- TI-2022-01176 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2014-00154 The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly… KEVCVSS 3.1HIGH 7.5
- TI-2025-14107 Stack buffer overflow in CMS (Auth)EnvelopedData parsing CVSS 3.1HIGH 8.8
Sources
- CVE-2017-3737 · CVE Program
- CVE-2017-3737 · NVD
- FIRST EPSS
- GHSA-fwxf-w2h7-9w25 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-3737 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences