CVE-2018-0495

NameCVE-2018-0495
DescriptionLibgcrypt 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1405-1, DSA-4231-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgcrypt20 (PTS)jessie, jessie (lts)1.6.3-2+deb8u9fixed
stretch (security), stretch (lts), stretch1.7.6-2+deb9u4fixed
buster1.8.4-5+deb10u1fixed
bullseye1.8.7-6fixed
bookworm1.10.1-3fixed
sid, trixie1.11.0-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgcrypt11sourcewheezy(not affected)
libgcrypt11source(unstable)(unfixed)
libgcrypt20sourcejessie1.6.3-2+deb8u5DLA-1405-1
libgcrypt20sourcestretch1.7.6-2+deb9u3DSA-4231-1
libgcrypt20source(unstable)1.8.3-1

Notes

https://dev.gnupg.org/T4011
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=9010d1576e278a4274ad3f4aa15776c28f6ba965
[wheezy] - libgcrypt11 <not-affected> (Vulnerable code not present)

Search for package or bug name: Reporting problems