CVE-2020-12402: Medium severity Mozilla Thunderbird vulnerability

Published Apr 21, 2020
·
Updated

A flaw was found in NSS, where it is vulnerable to RSA key generation cache timing side-channel attacks. An attacker with sufficient access to mount cache timing attacks during the RSA key generation process could recover the private key. The highest threat to this flaw is to confidentiality.

Other sources

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.

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. We would like to thank Sohaib ul Hassan for contributing a fix for this issue as well.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.

— Mozilla

It was found that NSS is vulnerable to RSA key generation cache timing side channel attacks. An attacker with sufficient access to mount cache timing attacks during the RSA key generation process could recover the private key.

— Red Hat

Affected Software

44 affected componentsFixes available
redhat/nspr<0:4.25.0-2.el7_9
0:4.25.0-2.el7_9
redhat/nss<0:3.53.1-3.el7_9
0:3.53.1-3.el7_9
redhat/nss-softokn<0:3.53.1-6.el7_9
0:3.53.1-6.el7_9
redhat/nss-util<0:3.53.1-1.el7_9
0:3.53.1-1.el7_9
redhat/nspr<0:4.25.0-2.el8_2
0:4.25.0-2.el8_2
redhat/nss<0:3.53.1-11.el8_2
0:3.53.1-11.el8_2
redhat/nss<3.53.1
3.53.1
debian/nss
2:3.61-1+deb11u32:3.87.1-12:3.103-1
Mozilla Thunderbird<78
78
Mozilla Firefox<78
78
Mozilla Firefox<78.0
Fedoraproject Fedora=32
openSUSE Leap=15.1
openSUSE Leap=15.2
Debian Debian Linux=9.0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/firefox<78.0-r0
78.0-r0
alpine/librewolf<78.0-r0
78.0-r0
alpine/librewolf<78.0-r0
78.0-r0
alpine/librewolf<78.0-r0
78.0-r0
alpine/librewolf<78.0-r0
78.0-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0
alpine/nss<3.53.1-r0
3.53.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/nspr to a version that resolves this vulnerability.

    Fixed in 0:4.25.0-2.el7_9
  2. Upgrade

    Upgrade redhat/nss to a version that resolves this vulnerability.

    Fixed in 0:3.53.1-3.el7_9
  3. Upgrade

    Upgrade redhat/nss-softokn to a version that resolves this vulnerability.

    Fixed in 0:3.53.1-6.el7_9
  4. Upgrade

    Upgrade redhat/nss-util to a version that resolves this vulnerability.

    Fixed in 0:3.53.1-1.el7_9
  5. Upgrade

    Upgrade redhat/nspr to a version that resolves this vulnerability.

    Fixed in 0:4.25.0-2.el8_2
  6. Upgrade

    Upgrade redhat/nss to a version that resolves this vulnerability.

    Fixed in 0:3.53.1-11.el8_2
  7. Upgrade

    Upgrade redhat/nss to a version that resolves this vulnerability.

    Fixed in 3.53.1
  8. Upgrade

    Upgrade debian/nss to a version that resolves this vulnerability.

    Fixed in 2:3.61-1+deb11u3Fixed in 2:3.87.1-1Fixed in 2:3.103-1
  9. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 78
  10. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 78
  11. Upgrade

    Upgrade alpine/firefox to a version that resolves this vulnerability.

    Fixed in 78.0-r0
  12. Upgrade

    Upgrade alpine/librewolf to a version that resolves this vulnerability.

    Fixed in 78.0-r0
  13. Upgrade

    Upgrade alpine/nss to a version that resolves this vulnerability.

    Fixed in 3.53.1-r0

Event History

Jun 2, 2020
CVE Published
12:00 PM
Jul 9, 2020
CVE Published
via MITRE·02:53 PM
Data Sourced
via MITRE·02:53 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this flaw?

The vulnerability ID for this flaw is CVE-2020-12402.

2

What is the severity of CVE-2020-12402?

The severity of CVE-2020-12402 is medium, with a severity value of 4.4.

3

Which software and versions are affected by CVE-2020-12402?

Mozilla Firefox version up to 78, Red Hat NSS version up to 3.53.1, Red Hat NSPR version up to 4.25.0-2.el7_9, Ubuntu NSS version up to 2:3.53.1, Ubuntu NSS version up to 3.28.4-0ubuntu0.14.04.5+.

4

What is the remedy for CVE-2020-12402?

Update Mozilla Firefox to version 78, update Red Hat NSS to version 3.53.1, update Red Hat NSPR to version 4.25.0-2.el7_9, update Ubuntu NSS to version 2:3.53.1, update Ubuntu NSS to version 3.28.4-0ubuntu0.14.04.5+.

5

Are there any references for CVE-2020-12402?

Yes, the references for CVE-2020-12402 are: - [Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1631597) - [Mozilla Security Advisories](https://www.mozilla.org/en-US/security/advisories/mfsa2020-24/) - [Mozilla NSS Repository](https://hg.mozilla.org/projects/nss/rev/699541a7793bbe9b20f1d73dc49e25c6054aa4c1)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203