cve.bz

CVE-2020-12402 Observable Discrepancy

4.4 mediumEPSS 0.3%

Medium (4.4). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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 < 78.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 28th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-203 Observable Discrepancy
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12402 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12402?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12402?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12402 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mozilla Firefoxbefore 78

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8nss2:3.26-1+debu8u11DLA-2266-1
Debian9nss2:3.26.2-1.1+deb9u2DLA-2388-1
Debian10nss2:3.42.1-1+deb10u3DSA-4726-1
Debian12, 13, 14nss2:3.53.1-1DEBIAN-CVE-2020-12402
Ubuntu16.04:LTSnss2:3.28.4-0ubuntu0.16.04.12UBUNTU-CVE-2020-12402 USN-4417-1
Ubuntu18.04:LTSnss2:3.35-2ubuntu2.9UBUNTU-CVE-2020-12402 USN-4417-1
Ubuntu20.04:LTSnss2:3.49.1-1ubuntu1.2UBUNTU-CVE-2020-12402 USN-4417-1
UbuntuPro:14.04:LTSnss2:3.28.4-0ubuntu0.14.04.5+esm6UBUNTU-CVE-2020-12402 USN-4417-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationnspr, nspr-devel, nspr-debuginfo0:4.25.0-2.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationnss, nss-devel, nss-tools and 3 more0:3.53.1-3.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationnss-softokn, nss-softokn-devel, nss-softokn-freebl and 2 more0:3.53.1-6.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationnss-util, nss-util-devel, nss-util-debuginfo0:3.53.1-1.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::computenodenspr-devel, nspr-debuginfo0:4.25.0-2.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::computenodenss-devel, nss-debuginfo, nss-pkcs11-devel0:3.53.1-3.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::computenodenss-softokn-devel, nss-softokn-debuginfo, nss-softokn-freebl-devel0:3.53.1-6.el7_9RHSA-2020:4076
Red Hatenterprise_linux:7::computenodenss-util-devel, nss-util-debuginfo0:3.53.1-1.el7_9RHSA-2020:4076
Red Hatenterprise_linux:8::appstreamnspr, nspr-devel, nspr-debuginfo and 1 more0:4.25.0-2.el8_2RHSA-2020:3280
Red Hatenterprise_linux:8::appstreamnss, nss-util, nss-devel and 14 more0:3.53.1-11.el8_2RHSA-2020:3280
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 moreMozillaFirefox78.0.1-112.3.1SUSE-SU-2020:1899-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 moremozilla-nspr4.25-19.15.1SUSE-SU-2020:1839-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 15 moremozilla-nss3.53.1-58.48.1SUSE-SU-2020:1839-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 moreMozillaFirefox-branding-SLE78-35.3.1SUSE-SU-2020:1899-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Basesystem 15 SP1 and 5 moremozilla-nss3.53.1-3.45.1SUSE-SU-2020:1850-1
SUSELinux Enterprise Module for Desktop Applications 15 SP1, Linux Enterprise Module for Desktop Applications 15 SP2MozillaFirefox78.0.1-3.94.2SUSE-SU-2020:1898-1
SUSELinux Enterprise Module for Desktop Applications 15 SP1, Linux Enterprise Module for Desktop Applications 15 SP2MozillaFirefox-branding-SLE78-4.14.1SUSE-SU-2020:1898-1
SUSELinux Enterprise Server 11 SP4-LTSSMozillaFirefox78.0.1-78.80.2SUSE-SU-2020:14421-1
SUSELinux Enterprise Server 11 SP4-LTSSMozillaFirefox-branding-SLED78-21.12.1SUSE-SU-2020:14421-1
SUSELinux Enterprise Server 11 SP4-LTSSmozilla-nspr4.25-29.12.2SUSE-SU-2020:14418-1
SUSELinux Enterprise Server 11 SP4-LTSSmozilla-nss3.53.1-38.23.1SUSE-SU-2020:14418-1
openSUSELeap 15.1MozillaFirefox78.0.1-lp151.2.53.1openSUSE-SU-2020:1017-1
openSUSELeap 15.1mozilla-nss3.53.1-lp151.2.26.1openSUSE-SU-2020:0953-1
openSUSELeap 15.2MozillaFirefox78.0.1-lp152.2.5.1openSUSE-SU-2020:0983-1
openSUSELeap 15.2mozilla-nss3.53.1-lp152.2.4.1openSUSE-SU-2020:0955-1
openSUSETumbleweedMozillaFirefox92.0-1.2openSUSE-SU-2024:10600-1
openSUSETumbleweedfirefox-esr128.5.1-1.1openSUSE-SU-2024:14572-1
openSUSETumbleweedmozilla-nss3.69.1-1.2openSUSE-SU-2024:11058-1
Rocky Linux8nspr0:4.25.0-2.el8_2RLSA-2020:3280
Alpinev3.12, v3.13, v3.14 and 6 morefirefox78.0-r0ALPINE-CVE-2020-12402
Alpinev3.12, v3.13, v3.14 and 10 morenss3.53.1-r0ALPINE-CVE-2020-12402
Alpinev3.21, v3.22, v3.23firefox, librewolf78.0-r0ALPINE-CVE-2020-12402
Alpinev3.24librewolf78.0-r0ALPINE-CVE-2020-12402

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A timing attack was found in the way NSS generated RSA keys. A man-in-the-middle attacker could use this attack during RSA key generation to recover the private key. This attack is only feasible when the attacker is local to the machine or in certain cross-VM scenarios where the signature is being generated. Attacks over the network or via the internet are not feasible.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7nspr-0:4.25.0-2.el7_9Fixed 2020-09-29RHSA-2020:4076
Red Hat Enterprise Linux 7nss-0:3.53.1-3.el7_9Fixed 2020-09-29RHSA-2020:4076
Red Hat Enterprise Linux 7nss-softokn-0:3.53.1-6.el7_9Fixed 2020-09-29RHSA-2020:4076
Red Hat Enterprise Linux 7nss-util-0:3.53.1-1.el7_9Fixed 2020-09-29RHSA-2020:4076
Red Hat Enterprise Linux 8nspr-0:4.25.0-2.el8_2Fixed 2020-08-03RHSA-2020:3280
Red Hat Enterprise Linux 8nss-0:3.53.1-11.el8_2Fixed 2020-08-03RHSA-2020:3280
Red Hat OpenShift Doopenshiftdo/odo-init-image-rhel7:1.1.3-2Fixed 2021-03-22RHSA-2021:0949
Red Hat Enterprise Linux 5nssOut of support scope
Red Hat Enterprise Linux 6nssOut of support scope
Red Hat OpenShift Container Platform 4nss-altfilesNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12402.

Attack patterns (CAPEC)

  • CAPEC-189 Black Box Reverse Engineering Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON