Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisorycredential-access-method

OpenSSL RSA Key Generation Cache-Timing Flaw Exposes Private Keys

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Apr 16, 2018

OpenSSL RSA Key Generation Cache-Timing Flaw Exposes Private Keys

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.

Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Jan 2017 – Apr 16, 2018
  1. Reported Oct 30, 20188y ago

    Red Hat issues product updates for CVE-2018-0737

    Red Hat addressed CVE-2018-0737 through updates for Red Hat Enterprise Linux 7 and through advisories for Red Hat JBoss Core Services, including deployments on RHEL 6 and RHEL 7.

    1568253 - (CVE-2018-0737) CVE-2018-0737 openssl: RSA key generation cache timing vulnerability in crypto/rsa/rsa_gen.c allows attackers to recover private keys
  2. Apr 16, 20189y ago

    OpenSSL publicly discloses CVE-2018-0737 and publishes fixes

    OpenSSL disclosed CVE-2018-0737, a low-severity cache-timing side-channel vulnerability in RSA key generation that could allow local or adjacent attackers to recover a newly generated private key. It published fixes in the 1.0.2 and 1.1.0 branch commits, to be included in OpenSSL 1.0.2p and 1.1.0i, while the researchers also disclosed technical details to oss-security.

    [no-title]
  3. Apr 11, 20189y ago

    Researchers notify the distros mailing list

    The researchers notified the distros mailing list about the OpenSSL RSA key-generation vulnerabilities ahead of public disclosure.

    oss-security - CVE-2018-0737 OpenSSL: RSA key generation follows several non constant time code paths
  4. Apr 4, 20189y ago

    Researchers send OpenSSL a proof of concept

    The researchers notified OpenSSL again with a proof of concept for the RSA key-generation cache-timing attack and set a public-disclosure embargo for April 16 at 15:00 UTC.

    [no-title]
  5. Jan 2017

    Researchers notify OpenSSL, LibreSSL, and BoringSSL of RSA timing flaws

    Researchers initially notified OpenSSL, LibreSSL, and BoringSSL about the RSA key-generation cache-timing issues. LibreSSL subsequently fixed the issues in its codebase.

    oss-security - CVE-2018-0737 OpenSSL: RSA key generation follows several non constant time code paths
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Openssl
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.