Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-0702 EUVD-2016-0737GHSA-q7xg-gmg7-59f4

The MOD_EXP_CTIME_COPY_FROM_PREBUF function in crypto/bn/bn_exp.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g does not properly …

Published Mar 3, 2016 · Updated Aug 5, 2024 · Assigned by redhat

Description

The MOD_EXP_CTIME_COPY_FROM_PREBUF function in crypto/bn/bn_exp.c in OpenSSL 1.0.1 before 1.0.1s and 1.0.2 before 1.0.2g does not properly consider cache-bank access times during modular exponentiation, which makes it easier for local users to discover RSA keys by running a crafted application on the same Intel Sandy Bridge CPU core as a victim and leveraging cache-bank conflicts, aka a "CacheBleed" attack.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 1.0.2g-1 —
Debian 13 openssl 1.0.2g-1 —
Debian 12 openssl 1.0.2g-1 —
Debian 8 openssl 1.0.1k-3+deb8u4 DSA-3500-1
Debian 7 openssl 1.0.1e-2+deb7u20 DSA-3500-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS openssl 1.0.2g-1ubuntu2 —
Ubuntu 14.04 LTS openssl 1.0.1f-1ubuntu2.18 USN-2914-1
ReleasePackageFixed inAdvisory
RHEL 7 openssl +4 1:1.0.1e-51.el7_2.4 RHSA-2016:0301
RHEL 7 rhev-hypervisor7 7.2-20160302.1.el7ev RHSA-2016:0379
RHEL 6 openssl +3 1.0.1e-42.el6_7.4 RHSA-2016:0301
RHEL 6 rhev-hypervisor7 7.2-20160302.1.el6ev RHSA-2016:0379
ReleasePackageFixed inAdvisory
SLES 12 SP1 compat-openssl098 0.9.8j-94.1 SUSE-SU-2016:1267-1, SUSE-SU-2016:0641-1
SLES 12 SP1 openssl 1.0.1i-44.1 SUSE-SU-2016:0620-1
SLES 12 compat-openssl098 0.9.8j-94.1 SUSE-SU-2016:1267-1, SUSE-SU-2016:0641-1
SLES 12 openssl 1.0.1i-27.13.1 SUSE-SU-2016:0617-1
SLES 11 SP4 compat-openssl097g 0.9.7g-146.22.41.1 SUSE-SU-2016:0631-1
SLES 11 SP4 openssl 0.9.8j-0.89.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:0624-1
SLES 11 SP3 openssl 0.9.8j-0.89.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:0624-1
SLES 11 SP2 openssl 0.9.8j-0.89.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:0624-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 openssl1 1.0.1g-0.40.1 SUSE-SU-2016:0621-1
SUSE Studio Onsite 1.3 openssl 0.9.8j-0.89.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:0624-1
SLES for SAP 12 SP1 compat-openssl098 0.9.8j-94.1 SUSE-SU-2016:1267-1, SUSE-SU-2016:0641-1
SLES for SAP 12 SP1 openssl 1.0.1i-44.1 SUSE-SU-2016:0620-1
SLES for SAP 12 openssl 1.0.1i-27.13.1 SUSE-SU-2016:0617-1
SLES for SAP 11 SP4 compat-openssl097g 0.9.7g-146.22.41.1 SUSE-SU-2016:0631-1
SLES for SAP 11 SP4 openssl 0.9.8j-0.89.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:0624-1
SUSE OpenStack Cloud 5 openssl 0.9.8j-0.91.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:1057-1
SUSE Manager Proxy 2.1 openssl 0.9.8j-0.91.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:1057-1
SUSE Manager 2.1 openssl 0.9.8j-0.91.1 SUSE-SU-2016:1290-1, SUSE-SU-2016:1057-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libressl 2.5.0-1.1 openSUSE-SU-2024:10309-1
openSUSE Tumbleweed openssl-1_1 1.1.1l-1.2 openSUSE-SU-2024:11127-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 openssl +4 1:1.0.1e-51.el7_2.4 ELSA-2016-0301

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 20

References