CVE-2017-3736: Infoleak
Last updated 24 July 2024
Other sources
OpenSSL could allow a remote attacker to obtain sensitive information, caused by a carry propagation flaw in the x8664 Montgomery squaring function bnsqrx8xinternal(). An attacker with online access to an unpatched system could exploit this vulnerability to obtain information about the private key.
— IBM
There is a carry propagating bug in the x8664 Montgomery squaring procedure in OpenSSL before 1.0.2m and 1.1.0 before 1.1.0g. 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. This only affects processors that support the BMI1, BMI2 and ADX extensions like Intel Broadwell (5th generation) and later or AMD Ryzen.
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.
This only affects processors that support the BMI1, BMI2 and ADX extensions like Intel Broadwell (5th generation) and later or AMD Ryzen.
Note: This issue is very similar to CVE-2017-3732 and CVE-2015-3193 but must be treated as a separate problem.
External References:
https://www.openssl.org/news/secadv/20171102.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-3736?
The severity of CVE-2017-3736 is medium with a severity value of 6.5.
How does CVE-2017-3736 affect OpenSSL?
CVE-2017-3736 affects OpenSSL versions before 1.0.2m and 1.1.0 before 1.1.0g on the x86_64 architecture.
Are RSA and DSA algorithms affected by CVE-2017-3736?
No, RSA and DSA algorithms are not affected by CVE-2017-3736.
Is it difficult to perform attacks against RSA and DSA as a result of CVE-2017-3736?
Yes, attacks against RSA and DSA as a result of CVE-2017-3736 are believed to be very difficult to perform and unlikely.
How can I fix CVE-2017-3736?
To fix CVE-2017-3736, update OpenSSL to version 1.0.2m or higher, or version 1.1.0g or higher.