OpenSSL RSA Key Generation Cache-Timing Flaw Exposes Private Keys
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Apr 16, 2018

OpenSSL disclosed CVE-2018-0737, a low-severity cache-timing side channel in RSA private-key generation affecting versions before 1.0.2p and 1.1.0i. Three non-constant-time execution paths, including BN_gcd, could leak sensitive state to an attacker able to run a precisely timed cache attack on the same physical system while a key is generated, potentially allowing recovery of the newly generated RSA private key. Researchers demonstrated recovery through the BN_gcd path at an approximately 30% success rate across more than 10,000 cluster trials.
OpenSSL incorporated fixes into 1.0.2p and 1.1.0i, with patches also available through upstream commits 349a41da1 and 6939eab03. Exploitation requires stringent local or adjacent-system access and observation at the moment of key generation, limiting practical exposure; keys generated and retained in hardware security modules are not affected. Red Hat issued fixes for affected RHEL 7 and later systems and JBoss Core Services products.


