{"id":"UBUNTU-CVE-2018-0495","details":"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.","modified":"2026-04-22T11:38:07.420187Z","published":"2018-06-13T00:00:00Z","related":["USN-3689-1","USN-3689-2","USN-3692-1","USN-3692-2","USN-3850-1","USN-3850-2"],"upstream":["CVE-2018-0495"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-0495"},{"type":"REPORT","url":"https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/"},{"type":"REPORT","url":"https://lists.gnupg.org/pipermail/gnupg-announce/2018q2/000426.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3689-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3689-2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3692-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3692-2"},{"type":"REPORT","url":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.38_release_notes"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3850-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3850-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-0495"}],"affected":[{"package":{"name":"libgcrypt11","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libgcrypt11@1.5.3-2ubuntu4.6?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3-2ubuntu4.6"}]}],"versions":["1.5.0-3ubuntu3","1.5.3-2ubuntu1","1.5.3-2ubuntu4","1.5.3-2ubuntu4.1","1.5.3-2ubuntu4.2","1.5.3-2ubuntu4.3","1.5.3-2ubuntu4.4","1.5.3-2ubuntu4.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libgcrypt11","binary_version":"1.5.3-2ubuntu4.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.14.04.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.28.4-0ubuntu0.14.04.4"}]}],"versions":["2:3.15.1-1ubuntu1","2:3.15.2-1","2:3.15.3-1","2:3.15.3.1-1","2:3.15.3.1-1.1","2:3.15.3.1-1.1ubuntu1","2:3.15.4-1ubuntu3","2:3.15.4-1ubuntu4","2:3.15.4-1ubuntu5","2:3.15.4-1ubuntu6","2:3.15.4-1ubuntu7","2:3.15.4-1ubuntu7.1","2:3.17-0ubuntu0.14.04.1","2:3.17.1-0ubuntu0.14.04.1","2:3.17.1-0ubuntu0.14.04.2","2:3.17.4-0ubuntu0.14.04.1","2:3.19.2-0ubuntu0.14.04.1","2:3.19.2.1-0ubuntu0.14.04.1","2:3.19.2.1-0ubuntu0.14.04.2","2:3.21-0ubuntu0.14.04.1","2:3.21-0ubuntu0.14.04.2","2:3.23-0ubuntu0.14.04.1","2:3.26.2-0ubuntu0.14.04.3","2:3.28.4-0ubuntu0.14.04.1","2:3.28.4-0ubuntu0.14.04.2","2:3.28.4-0ubuntu0.14.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnss3","binary_version":"2:3.28.4-0ubuntu0.14.04.4"},{"binary_name":"libnss3-1d","binary_version":"2:3.28.4-0ubuntu0.14.04.4"},{"binary_name":"libnss3-nssdb","binary_version":"2:3.28.4-0ubuntu0.14.04.4"},{"binary_name":"libnss3-tools","binary_version":"2:3.28.4-0ubuntu0.14.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"openssl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/openssl@1.0.1f-1ubuntu2.26?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1f-1ubuntu2.26"}]}],"versions":["1.0.1e-3ubuntu1","1.0.1e-4ubuntu1","1.0.1e-4ubuntu2","1.0.1e-4ubuntu3","1.0.1e-4ubuntu4","1.0.1f-1ubuntu1","1.0.1f-1ubuntu2","1.0.1f-1ubuntu2.1","1.0.1f-1ubuntu2.2","1.0.1f-1ubuntu2.3","1.0.1f-1ubuntu2.4","1.0.1f-1ubuntu2.5","1.0.1f-1ubuntu2.7","1.0.1f-1ubuntu2.8","1.0.1f-1ubuntu2.11","1.0.1f-1ubuntu2.12","1.0.1f-1ubuntu2.15","1.0.1f-1ubuntu2.16","1.0.1f-1ubuntu2.17","1.0.1f-1ubuntu2.18","1.0.1f-1ubuntu2.19","1.0.1f-1ubuntu2.20","1.0.1f-1ubuntu2.21","1.0.1f-1ubuntu2.22","1.0.1f-1ubuntu2.23","1.0.1f-1ubuntu2.24","1.0.1f-1ubuntu2.25"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssl1.0.0","binary_version":"1.0.1f-1ubuntu2.26"},{"binary_name":"openssl","binary_version":"1.0.1f-1ubuntu2.26"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"libgcrypt20","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libgcrypt20@1.6.5-2ubuntu0.5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.5-2ubuntu0.5"}]}],"versions":["1.6.3-2ubuntu1","1.6.4-3","1.6.4-4","1.6.4-5","1.6.5-2","1.6.5-2ubuntu0.2","1.6.5-2ubuntu0.3","1.6.5-2ubuntu0.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libgcrypt20","binary_version":"1.6.5-2ubuntu0.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.16.04.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.28.4-0ubuntu0.16.04.4"}]}],"versions":["2:3.19.2-1ubuntu1","2:3.19.2.1-0ubuntu1","2:3.21-1ubuntu2","2:3.21-1ubuntu3","2:3.21-1ubuntu4","2:3.23-0ubuntu0.16.04.1","2:3.26.2-0ubuntu0.16.04.2","2:3.28.4-0ubuntu0.16.04.1","2:3.28.4-0ubuntu0.16.04.2","2:3.28.4-0ubuntu0.16.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnss3","binary_version":"2:3.28.4-0ubuntu0.16.04.4"},{"binary_name":"libnss3-1d","binary_version":"2:3.28.4-0ubuntu0.16.04.4"},{"binary_name":"libnss3-nssdb","binary_version":"2:3.28.4-0ubuntu0.16.04.4"},{"binary_name":"libnss3-tools","binary_version":"2:3.28.4-0ubuntu0.16.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"openssl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openssl@1.0.2g-1ubuntu4.13?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2g-1ubuntu4.13"}]}],"versions":["1.0.2d-0ubuntu1","1.0.2d-0ubuntu2","1.0.2e-1ubuntu1","1.0.2f-2ubuntu1","1.0.2g-1ubuntu2","1.0.2g-1ubuntu3","1.0.2g-1ubuntu4","1.0.2g-1ubuntu4.1","1.0.2g-1ubuntu4.2","1.0.2g-1ubuntu4.4","1.0.2g-1ubuntu4.5","1.0.2g-1ubuntu4.6","1.0.2g-1ubuntu4.8","1.0.2g-1ubuntu4.9","1.0.2g-1ubuntu4.10","1.0.2g-1ubuntu4.11","1.0.2g-1ubuntu4.12"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssl1.0.0","binary_version":"1.0.2g-1ubuntu4.13"},{"binary_name":"openssl","binary_version":"1.0.2g-1ubuntu4.13"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"libgcrypt20","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libgcrypt20@1.8.1-4ubuntu1.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1-4ubuntu1.1"}]}],"versions":["1.7.8-2ubuntu1","1.7.9-1","1.8.1-4","1.8.1-4ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libgcrypt20","binary_version":"1.8.1-4ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.35-2ubuntu2.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.35-2ubuntu2.1"}]}],"versions":["2:3.32-1ubuntu3","2:3.34-1ubuntu1","2:3.35-2ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnss3","binary_version":"2:3.35-2ubuntu2.1"},{"binary_name":"libnss3-tools","binary_version":"2:3.35-2ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"openssl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openssl@1.1.0g-2ubuntu4.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0g-2ubuntu4.1"}]}],"versions":["1.0.2g-1ubuntu13","1.0.2g-1ubuntu14","1.0.2n-1ubuntu1","1.1.0g-2ubuntu1","1.1.0g-2ubuntu2","1.1.0g-2ubuntu3","1.1.0g-2ubuntu4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssl1.1","binary_version":"1.1.0g-2ubuntu4.1"},{"binary_name":"openssl","binary_version":"1.1.0g-2ubuntu4.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}},{"package":{"name":"openssl1.0","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openssl1.0@1.0.2n-1ubuntu5.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2n-1ubuntu5.1"}]}],"versions":["1.0.2n-1ubuntu2","1.0.2n-1ubuntu3","1.0.2n-1ubuntu4","1.0.2n-1ubuntu5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libssl1.0.0","binary_version":"1.0.2n-1ubuntu5.1"},{"binary_name":"openssl1.0","binary_version":"1.0.2n-1ubuntu5.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-0495.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"low"}]}