BN_mod_exp may produce incorrect results on x86_64
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: 12 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.
Summary
There is a carry propagating bug in the x86_64 Montgomery squaring procedure in OpenSSL 1.0.2 before 1.0.2k and 1.1.0 before 1.1.0d. No EC algorithms are affected. Analysis suggests that attacks against RSA and DSA as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH are considered just feasible (although very difficult) because most of the work necessary to deduce information about a private key may be performed offline. The amount of resources required for such an attack would be very significant and likely only accessible to a limited number of attackers. An attacker would additionally need online access to an unpatched system using the target private key in a scenario with persistent DH parameters and a private key that is shared between multiple clients. For example this can occur by default in OpenSSL DHE based SSL/TLS ciphersuites. Note: This issue is very similar to CVE-2015-3193 but must be treated as a separate problem.
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 | openssl-1.1.0; openssl-1.1.0a; openssl-1.1.0b; openssl-1.1.0c; openssl-1.0.2; openssl-1.0.2a; openssl-1.0.2b; openssl-1.0.2c; openssl-1.0.2d; openssl-1.0.2e; openssl-1.0.2f; openssl-1.0.2g; openssl-1.0.2h; openssl-1.0.2i; openssl-1.0.2j | — | No fix listed | CNA |
- OpenSSL VendorOpenSSL Affected openssl-1.1.0; openssl-1.1.0a; openssl-1.1.0b; openssl-1.1.0c; openssl-1.0.2; openssl-1.0.2a; openssl-1.0.2b; openssl-1.0.2c; openssl-1.0.2d; openssl-1.0.2e; openssl-1.0.2f; openssl-1.0.2g; openssl-1.0.2h; openssl-1.0.2i; openssl-1.0.2j Fixed in — No fix listed CNA
CPE configurations NVD · 20
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openssl:openssl:1.0.2:*:*:*:*:*:*:* | 1.0.2 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2:beta1:*:*:*:*:*:* | 1.0.2 beta1 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2:beta2:*:*:*:*:*:* | 1.0.2 beta2 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2:beta3:*:*:*:*:*:* | 1.0.2 beta3 | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.0.2a:*:*:*:*:*:*:* | 1.0.2a | Vulnerable | OpenSSL |
| 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.2:*:*:*:*:*:*:* Versions 1.0.2 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2:beta1:*:*:*:*:*:* Versions 1.0.2 beta1 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2:beta2:*:*:*:*:*:* Versions 1.0.2 beta2 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2:beta3:*:*:*:*:*:* Versions 1.0.2 beta3 Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.0.2a:*:*:*:*:*:*:* Versions 1.0.2a 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
Show 10 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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.1.0a:*:*:*:*:*:*:* | 1.1.0a | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.1.0b:*:*:*:*:*:*:* | 1.1.0b | Vulnerable | OpenSSL |
| cpe:2.3:a:openssl:openssl:1.1.0c:*:*:*:*:*:*:* | 1.1.0c | Vulnerable | OpenSSL |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 4.0.0 – 4.1.2 | Vulnerable | NodeJS |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 4.2.0 to before 4.7.3 | Vulnerable | NodeJS |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 5.0.0 – 5.12.0; 6.0.0 – 6.8.1 | Vulnerable | NodeJS |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* | 6.9.0 to before 6.9.5 | Vulnerable | NodeJS |
| cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | 7.0.0 to before 7.5.0 | Vulnerable | NodeJS |
- 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.1.0a:*:*:*:*:*:*:* Versions 1.1.0a Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.1.0b:*:*:*:*:*:*:* Versions 1.1.0b Vulnerable ·OpenSSL
- cpe:2.3:a:openssl:openssl:1.1.0c:*:*:*:*:*:*:* Versions 1.1.0c Vulnerable ·OpenSSL
- cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* Versions 4.0.0 – 4.1.2 Vulnerable ·NodeJS
- cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* Versions 4.2.0 to before 4.7.3 Vulnerable ·NodeJS
- cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* Versions 5.0.0 – 5.12.0; 6.0.0 – 6.8.1 Vulnerable ·NodeJS
- cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:* Versions 6.9.0 to before 6.9.5 Vulnerable ·NodeJS
- cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* Versions 7.0.0 to before 7.5.0 Vulnerable ·NodeJS
Remediation
Red Hat 6 advisories
- RHSA-2018:2713 Released 2018-09-17 · Red Hat rating Moderatejava-1.8.0-ibm security update
- Red Hat Satellite 5.8 (RHEL v.6) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el6_10
- RHSA-2018:2575 Released 2018-08-28 · Red Hat rating Importantjava-1.8.0-ibm security update
- Red Hat Enterprise Linux Desktop Supplementary (v. 6) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el6_10 +3
- Red Hat Enterprise Linux HPC Node Supplementary (v. 6) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el6_10 +1
- Red Hat Enterprise Linux Server Supplementary (v. 6) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el6_10 +3
- Red Hat Enterprise Linux Workstation Supplementary (v. 6) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el6_10, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el6_10 +3
- RHSA-2018:2568 Released 2018-08-27 · Red Hat rating Importantjava-1.8.0-ibm security update
- Red Hat Enterprise Linux Client Supplementary (v. 7) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el7 +3
- Red Hat Enterprise Linux ComputeNode Supplementary (v. 7) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el7 +1
- Red Hat Enterprise Linux Server Supplementary (v. 7) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el7 +3
- Red Hat Enterprise Linux Workstation Supplementary (v. 7) java-1.8.0-ibm-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-demo-1:1.8.0.5.20-1jpp.1.el7, java-1.8.0-ibm-devel-1:1.8.0.5.20-1jpp.1.el7 +3
Show 3 more Red Hat 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
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
OpenSSL — GLSA-201702-07
3 records Highest priority Priority HIGH 2 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2017-02848 Truncated packet could crash via OOB readPriority HIGH 66
- TI-2017-02847 Bad (EC)DHE parameters cause a client crashPriority HIGH 66
- Advisory ·
OpenSSL — FreeBSD-SA-17:02
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2017-02848 Truncated packet could crash via OOB readPriority HIGH 66
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: Fix deferred |
| Red Hat Enterprise Linux Client Supplementary (v. 7) | Fixed | RHSA-2018:2568 |
| Red Hat Enterprise Linux ComputeNode Supplementary (v. 7) | Fixed | RHSA-2018:2568 |
| Red Hat Enterprise Linux Desktop Supplementary (v. 6) | Fixed | RHSA-2018:2575 |
| Red Hat Enterprise Linux HPC Node Supplementary (v. 6) | Fixed | RHSA-2018:2575 |
| Red Hat Enterprise Linux Server Supplementary (v. 6) | Fixed | RHSA-2018:2575 |
| Red Hat Enterprise Linux Server Supplementary (v. 7) | Fixed | RHSA-2018:2568 |
| Red Hat Enterprise Linux Workstation Supplementary (v. 6) | Fixed | RHSA-2018:2575 |
| Red Hat Enterprise Linux Workstation Supplementary (v. 7) | Fixed | RHSA-2018:2568 |
| 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 |
| Red Hat Satellite 5.8 (RHEL v.6) | Fixed | RHSA-2018:2713 |
Not affected: 6 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Virtualization 3
- Red Hat JBoss Enterprise Application Platform 5
- Red Hat JBoss Enterprise Web Server 1
Timeline
- 2026-10-02 Threatist record created from CVE-2017-3732
- 2026-10-03 Alias added: GHSA-5hg3-8gvm-5294
References
Patch 5
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://github.com/openssl/openssl/commit/a59b90bf491410f1f2bc4540cc21f1980fd14c5b
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
Advisory 11
- RHSA-2018:2185
- RHSA-2018:2186
- RHSA-2018:2713
- FreeBSD-SA-17:02
- https://www.openssl.org/news/secadv/20170126.txt
- RHSA-2018:2575
- https://www.tenable.com/security/tns-2017-04
- GLSA-201702-07
- RHSA-2018:2568
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03838en_us
- RHSA-2018:2187
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-3732 · CVE Program
- CVE-2017-3732 · NVD
- FIRST EPSS
- GHSA-5hg3-8gvm-5294 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-3732 · 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