CVE-2017-3732: BN_mod_exp may produce incorrect results on x86_64
Last updated 24 July 2024
Other sources
There is a carry propagating bug in the x8664 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.
There is a carry propagating bug in the x8664 Montgomery squaring procedure. 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.
OpenSSL 1.0.2 users should upgrade to 1.0.2k
External References:
https://www.openssl.org/news/secadv/20170126.txt
— Red Hat
Affected Software
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2017-3732?
CVE-2017-3732 is considered to have low severity due to its complex exploitation requirements.
How do I fix CVE-2017-3732?
You can fix CVE-2017-3732 by upgrading to OpenSSL version 1.0.2k or 1.1.0d or later.
Which software is affected by CVE-2017-3732?
CVE-2017-3732 affects OpenSSL versions prior to 1.0.2k and 1.1.0d.
Does CVE-2017-3732 affect EC algorithms?
No, CVE-2017-3732 does not affect EC (Elliptic Curve) algorithms.
What types of attacks could CVE-2017-3732 enable?
CVE-2017-3732 may potentially enable difficult-to-execute attacks against RSA and DSA, but practical exploitation is challenging.