CVE-2018-0495 Information disclosure in Libgcrypt before 1.7.10 and 1.8.x before 1.8.3

Medium 4.7 Published Updated

Attackers with local or co-tenant access can recover ECDSA private keys via memory-cache side-channel attacks in Libgcrypt.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-0495?

CVE-2018-0495 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 13 Jun 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Libgcrypt before 1.7.10 and 1.8.x before 1.8.3 allows a memory-cache side-channel attack on ECDSA signatures that can be mitigated through the use of blinding during the signing process in the _gcry_ecc_ecdsa_sign function in cipher/ecc-ecdsa.c, aka the Return Of the Hidden Number Problem or ROHNP. To discover an ECDSA key, the attacker needs access to either the local machine or a different virtual machine on the same physical host.

Weakness: CWE-203

Which versions are affected by CVE-2018-0495?

It affects 8 products.

Linux distribution packages (13)
libgcrypt SUSE:Linux Enterprise Desktop 12 SP3All versions1.6.1-16.55.1
libgcrypt SUSE:Linux Enterprise Desktop 12 SP3All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Desktop 12 SP4All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Module for Basesystem 15All versions1.8.2-6.3.1
libgcrypt SUSE:Linux Enterprise Server 12 SP3All versions1.6.1-16.55.1
libgcrypt SUSE:Linux Enterprise Server 12 SP3All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Server 12 SP4All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.6.1-16.55.1
libgcrypt SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Software Development Kit 12 SP3All versions1.6.1-16.55.1
libgcrypt SUSE:Linux Enterprise Software Development Kit 12 SP3All versions1.6.1-16.62.1
libgcrypt SUSE:Linux Enterprise Software Development Kit 12 SP4All versions1.6.1-16.62.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Gnupg Libgcrypt, Oracle Traffic Director, Redhat Ansible Tower, Redhat Enterprise Linux Desktop and 2 more.

How do I fix CVE-2018-0495?

Upgrade to a fixed version.

Is CVE-2018-0495 being exploited?

There is no known exploitation of CVE-2018-0495 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-0495, DEBIAN-CVE-2018-0495, DLA-1405-1, DSA-4231-1, GHSA-q2v2-pgm4-m8c8, MGASA-2018-0301 and 7 more.

Is CVE-2018-0495 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free