CVE-2017-3732
BN_mod_exp may produce incorrect results on x86_64
- Published
- Updated
- Reserved
- Assigned by
- openssl
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 15.4% · top 3.2% 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
- carry-propagating bug
- CWE-200 (opens in a new tab)Other CVEs with CWE-200
Affected products
OpenSSL · OpenSSL
- affected openssl-1.1.0
- affected openssl-1.1.0a
- affected openssl-1.1.0b
- affected openssl-1.1.0c
- affected openssl-1.0.2
- affected openssl-1.0.2a
- affected openssl-1.0.2b
- affected openssl-1.0.2c
- affected openssl-1.0.2d
- affected openssl-1.0.2e
- affected openssl-1.0.2f
- affected openssl-1.0.2g
- affected openssl-1.0.2h
- affected openssl-1.0.2i
- affected openssl-1.0.2j
References (18)
- 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
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2713 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/openssl/openssl/commit/a59b90bf491410f1f2bc4540cc21f1980fd14c5b (opens in a new tab)x_refsource_MISCx_transferred
- FreeBSD-SA-17:02 (opens in a new tab)vendor-advisoryx_refsource_FREEBSDx_transferred
- https://www.openssl.org/news/secadv/20170126.txt (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1037717 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- RHSA-2018:2575 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.tenable.com/security/tns-2017-04 (opens in a new tab)x_refsource_CONFIRMx_transferred
- GLSA-201702-07 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2018:2568 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 95814 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03838en_us (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2187 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.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-3732)Record last updated .