BN_mod_exp may produce incorrect results on x86_64
Summary
| CVE | CVE-2017-3732 |
|---|---|
| State | PUBLISHED |
| Assigner | openssl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-05-04 19:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-200 | carry-propagating bug
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:M/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Nodejs | Node.js | All | All | All | All |
| Application | Nodejs | Node.js | All | All | All | All |
| Application | Nodejs | Node.js | All | All | All | All |
| Application | Nodejs | Node.js | All | All | All | All |
| Application | Openssl | Openssl | 1.0.2 | All | All | All |
| Application | Openssl | Openssl | 1.0.2 | beta1 | All | All |
| Application | Openssl | Openssl | 1.0.2 | beta2 | All | All |
| Application | Openssl | Openssl | 1.0.2 | beta3 | All | All |
| Application | Openssl | Openssl | 1.0.2a | All | All | All |
| Application | Openssl | Openssl | 1.0.2b | All | All | All |
| Application | Openssl | Openssl | 1.0.2c | All | All | All |
| Application | Openssl | Openssl | 1.0.2d | All | All | All |
| Application | Openssl | Openssl | 1.0.2e | All | All | All |
| Application | Openssl | Openssl | 1.0.2f | All | All | All |
| Application | Openssl | Openssl | 1.0.2h | All | All | All |
| Application | Openssl | Openssl | 1.0.2i | All | All | All |
| Application | Openssl | Openssl | 1.1.0a | All | All | All |
| Application | Openssl | Openssl | 1.1.0b | All | All | All |
| Application | Openssl | Openssl | 1.1.0c | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | OpenSSL | OpenSSL | affected openssl-1.1.0 | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.1.0a | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.1.0b | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.1.0c | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2 | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2a | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2b | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2c | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2d | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2e | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2f | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2g | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2h | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2i | Not specified |
| CNA | OpenSSL | OpenSSL | affected openssl-1.0.2j | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Document Display | HPE Support Center | af854a3a-2127-422b-91ae-364da2661108 | support.hpe.com | Third Party Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| security.FreeBSD.org/advisories/FreeBSD-SA-17:02.openssl.asc | af854a3a-2127-422b-91ae-364da2661108 | security.FreeBSD.org | Third Party Advisory |
| [R5] SecurityCenter 5.4.3 Fixes Multiple Vulnerabilities - Security Advisory | Tenable Network Security | af854a3a-2127-422b-91ae-364da2661108 | www.tenable.com | Third Party Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| OpenSSL Multiple Bugs Let Remote Users Deny Service and Obtain Potentially Sensitive Information - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | Third Party Advisory, VDB Entry |
| Oracle Critical Patch Update - October 2017 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| bn/asm/x86_64-mont5.pl: fix carry bug in bn_sqr8x_internal. · openssl/openssl@a59b90b · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| Oracle Critical Patch Update - January 2018 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| OpenSSL CVE-2017-3732 Information Disclosure Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| Oracle Critical Patch Update Advisory - April 2019 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Oracle Critical Patch Update - July 2017 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Patch, Third Party Advisory |
| www.openssl.org/news/secadv/20170126.txt | af854a3a-2127-422b-91ae-364da2661108 | www.openssl.org | Vendor Advisory |
| OpenSSL: Multiple vulnerabilities (GLSA 201702-07) — Gentoo Security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: OSS-Fuzz project (en)