{"id":"UBUNTU-CVE-2020-12402","details":"During RSA key generation, bignum implementations used a variation of the Binary Extended Euclidean Algorithm which entailed significantly input-dependent flow. This allowed an attacker able to perform electromagnetic-based side channel attacks to record traces leading to the recovery of the secret primes. *Note:* An unmodified Firefox browser does not generate RSA keys in normal operation and is not affected, but products built on top of it might. This vulnerability affects Firefox \u003c 78.","modified":"2026-04-22T12:27:37.726917Z","published":"2020-06-19T00:00:00Z","related":["USN-4417-1","USN-4417-2"],"upstream":["CVE-2020-12402"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-12402"},{"type":"REPORT","url":"https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.53.1_release_notes"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4417-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4417-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-12402"}],"affected":[{"package":{"name":"nss","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.14.04.5+esm6?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.28.4-0ubuntu0.14.04.5+esm6"}]}],"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","2:3.28.4-0ubuntu0.14.04.4","2:3.28.4-0ubuntu0.14.04.5","2:3.28.4-0ubuntu0.14.04.5+esm1","2:3.28.4-0ubuntu0.14.04.5+esm2","2:3.28.4-0ubuntu0.14.04.5+esm3","2:3.28.4-0ubuntu0.14.04.5+esm4","2:3.28.4-0ubuntu0.14.04.5+esm5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libnss3","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm6"},{"binary_name":"libnss3-1d","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm6"},{"binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm6","binary_name":"libnss3-nssdb"},{"binary_name":"libnss3-tools","binary_version":"2:3.28.4-0ubuntu0.14.04.5+esm6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12402.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.16.04.12?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.28.4-0ubuntu0.16.04.12"}]}],"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","2:3.28.4-0ubuntu0.16.04.4","2:3.28.4-0ubuntu0.16.04.5","2:3.28.4-0ubuntu0.16.04.6","2:3.28.4-0ubuntu0.16.04.8","2:3.28.4-0ubuntu0.16.04.9","2:3.28.4-0ubuntu0.16.04.10","2:3.28.4-0ubuntu0.16.04.11"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2:3.28.4-0ubuntu0.16.04.12","binary_name":"libnss3"},{"binary_name":"libnss3-1d","binary_version":"2:3.28.4-0ubuntu0.16.04.12"},{"binary_name":"libnss3-nssdb","binary_version":"2:3.28.4-0ubuntu0.16.04.12"},{"binary_name":"libnss3-tools","binary_version":"2:3.28.4-0ubuntu0.16.04.12"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12402.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.35-2ubuntu2.9?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.35-2ubuntu2.9"}]}],"versions":["2:3.32-1ubuntu3","2:3.34-1ubuntu1","2:3.35-2ubuntu2","2:3.35-2ubuntu2.1","2:3.35-2ubuntu2.2","2:3.35-2ubuntu2.3","2:3.35-2ubuntu2.5","2:3.35-2ubuntu2.6","2:3.35-2ubuntu2.7","2:3.35-2ubuntu2.8"],"ecosystem_specific":{"binaries":[{"binary_name":"libnss3","binary_version":"2:3.35-2ubuntu2.9"},{"binary_version":"2:3.35-2ubuntu2.9","binary_name":"libnss3-tools"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12402.json"}},{"package":{"name":"nss","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nss@2:3.49.1-1ubuntu1.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:3.49.1-1ubuntu1.2"}]}],"versions":["2:3.45-1ubuntu2","2:3.47-1ubuntu1","2:3.47-1ubuntu2","2:3.48-1ubuntu1","2:3.49.1-1ubuntu1","2:3.49.1-1ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnss3","binary_version":"2:3.49.1-1ubuntu1.2"},{"binary_name":"libnss3-tools","binary_version":"2:3.49.1-1ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12402.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}