ubuntu-cve-2020-12402
Vulnerability from osv_ubuntu
Published
2020-06-19 00:00
Modified
2026-04-22 07:39
Summary
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 < 78.


{
  "affected": [
    {
      "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_name": "libnss3-nssdb",
            "binary_version": "2:3.28.4-0ubuntu0.14.04.5+esm6"
          },
          {
            "binary_name": "libnss3-tools",
            "binary_version": "2:3.28.4-0ubuntu0.14.04.5+esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "nss",
        "purl": "pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.14.04.5+esm6?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:3.28.4-0ubuntu0.14.04.5+esm6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnss3",
            "binary_version": "2:3.28.4-0ubuntu0.16.04.12"
          },
          {
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "nss",
        "purl": "pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.16.04.12?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:3.28.4-0ubuntu0.16.04.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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_name": "libnss3",
            "binary_version": "2:3.35-2ubuntu2.9"
          },
          {
            "binary_name": "libnss3-tools",
            "binary_version": "2:3.35-2ubuntu2.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "nss",
        "purl": "pkg:deb/ubuntu/nss@2:3.35-2ubuntu2.9?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:3.35-2ubuntu2.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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": {
        "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "nss",
        "purl": "pkg:deb/ubuntu/nss@2:3.49.1-1ubuntu1.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:3.49.1-1ubuntu1.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2020-12402",
  "modified": "2026-04-22T07:39:23Z",
  "published": "2020-06-19T00:00:00Z",
  "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"
    }
  ],
  "related": [
    "USN-4417-1",
    "USN-4417-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2020-12402"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…