Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2018-0495 (CVE-2018-0495)

    Vulnerability from osv_ubuntu – Published: 2018-06-13 00:00 – Updated: 2026-11-24 09:42 – Source website
    VLAI
    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.

    Upstream
    Severity
    Impacted products
    Ecosystem Package Version
    Ubuntu:14.04:LTS libgcrypt11
    pkg:deb/ubuntu/libgcrypt11@1.5.3-2ubuntu4.6?arch=source&distro=trusty
    Affected: < 1.5.3-2ubuntu4.6 (ecosystem)
    1.5.0-3ubuntu31.5.3-2ubuntu11.5.3-2ubuntu41.5.3-2ubuntu4.11.5.3-2ubuntu4.21.5.3-2ubuntu4.31.5.3-2ubuntu4.41.5.3-2ubuntu4.5
    Ubuntu:14.04:LTS nss
    pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.14.04.4?arch=source&distro=trusty
    Affected: < 2:3.28.4-0ubuntu0.14.04.4 (ecosystem)
    2:3.15.1-1ubuntu12:3.15.2-12:3.15.3-12:3.15.3.1-12:3.15.3.1-1.12:3.15.3.1-1.1ubuntu12:3.15.4-1ubuntu32:3.15.4-1ubuntu42:3.15.4-1ubuntu52:3.15.4-1ubuntu6 and 16 more (see JSON)
    Ubuntu:14.04:LTS openssl
    pkg:deb/ubuntu/openssl@1.0.1f-1ubuntu2.26?arch=source&distro=trusty
    Affected: < 1.0.1f-1ubuntu2.26 (ecosystem)
    1.0.1e-3ubuntu11.0.1e-4ubuntu11.0.1e-4ubuntu21.0.1e-4ubuntu31.0.1e-4ubuntu41.0.1f-1ubuntu11.0.1f-1ubuntu21.0.1f-1ubuntu2.11.0.1f-1ubuntu2.21.0.1f-1ubuntu2.3 and 17 more (see JSON)
    Ubuntu:16.04:LTS libgcrypt20
    pkg:deb/ubuntu/libgcrypt20@1.6.5-2ubuntu0.5?arch=source&distro=xenial
    Affected: < 1.6.5-2ubuntu0.5 (ecosystem)
    1.6.3-2ubuntu11.6.4-31.6.4-41.6.4-51.6.5-21.6.5-2ubuntu0.21.6.5-2ubuntu0.31.6.5-2ubuntu0.4
    Ubuntu:16.04:LTS nss
    pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.16.04.4?arch=source&distro=xenial
    Affected: < 2:3.28.4-0ubuntu0.16.04.4 (ecosystem)
    2:3.19.2-1ubuntu12:3.19.2.1-0ubuntu12:3.21-1ubuntu22:3.21-1ubuntu32:3.21-1ubuntu42:3.23-0ubuntu0.16.04.12:3.26.2-0ubuntu0.16.04.22:3.28.4-0ubuntu0.16.04.12:3.28.4-0ubuntu0.16.04.22:3.28.4-0ubuntu0.16.04.3
    Ubuntu:16.04:LTS openssl
    pkg:deb/ubuntu/openssl@1.0.2g-1ubuntu4.13?arch=source&distro=xenial
    Affected: < 1.0.2g-1ubuntu4.13 (ecosystem)
    1.0.2d-0ubuntu11.0.2d-0ubuntu21.0.2e-1ubuntu11.0.2f-2ubuntu11.0.2g-1ubuntu21.0.2g-1ubuntu31.0.2g-1ubuntu41.0.2g-1ubuntu4.11.0.2g-1ubuntu4.21.0.2g-1ubuntu4.4 and 7 more (see JSON)
    Ubuntu:18.04:LTS libgcrypt20
    pkg:deb/ubuntu/libgcrypt20@1.8.1-4ubuntu1.1?arch=source&distro=bionic
    Affected: < 1.8.1-4ubuntu1.1 (ecosystem)
    1.7.8-2ubuntu11.7.9-11.8.1-41.8.1-4ubuntu1
    Ubuntu:18.04:LTS nss
    pkg:deb/ubuntu/nss@2:3.35-2ubuntu2.1?arch=source&distro=bionic
    Affected: < 2:3.35-2ubuntu2.1 (ecosystem)
    2:3.32-1ubuntu32:3.34-1ubuntu12:3.35-2ubuntu2
    Ubuntu:18.04:LTS openssl
    pkg:deb/ubuntu/openssl@1.1.0g-2ubuntu4.1?arch=source&distro=bionic
    Affected: < 1.1.0g-2ubuntu4.1 (ecosystem)
    1.0.2g-1ubuntu131.0.2g-1ubuntu141.0.2n-1ubuntu11.1.0g-2ubuntu11.1.0g-2ubuntu21.1.0g-2ubuntu31.1.0g-2ubuntu4
    Ubuntu:18.04:LTS openssl1.0
    pkg:deb/ubuntu/openssl1.0@1.0.2n-1ubuntu5.1?arch=source&distro=bionic
    Affected: < 1.0.2n-1ubuntu5.1 (ecosystem)
    1.0.2n-1ubuntu21.0.2n-1ubuntu31.0.2n-1ubuntu41.0.2n-1ubuntu5

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libgcrypt11",
                "binary_version": "1.5.3-2ubuntu4.6"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "libgcrypt11",
            "purl": "pkg:deb/ubuntu/libgcrypt11@1.5.3-2ubuntu4.6?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.5.3-2ubuntu4.6"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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": "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"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "nss",
            "purl": "pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.14.04.4?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:3.28.4-0ubuntu0.14.04.4"
                }
              ],
              "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"
          ]
        },
        {
          "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"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "openssl",
            "purl": "pkg:deb/ubuntu/openssl@1.0.1f-1ubuntu2.26?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.0.1f-1ubuntu2.26"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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": "libgcrypt20",
                "binary_version": "1.6.5-2ubuntu0.5"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "libgcrypt20",
            "purl": "pkg:deb/ubuntu/libgcrypt20@1.6.5-2ubuntu0.5?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.5-2ubuntu0.5"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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": "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"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "nss",
            "purl": "pkg:deb/ubuntu/nss@2:3.28.4-0ubuntu0.16.04.4?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:3.28.4-0ubuntu0.16.04.4"
                }
              ],
              "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"
          ]
        },
        {
          "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"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "openssl",
            "purl": "pkg:deb/ubuntu/openssl@1.0.2g-1ubuntu4.13?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.0.2g-1ubuntu4.13"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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": "libgcrypt20",
                "binary_version": "1.8.1-4ubuntu1.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "libgcrypt20",
            "purl": "pkg:deb/ubuntu/libgcrypt20@1.8.1-4ubuntu1.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.8.1-4ubuntu1.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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": "libnss3",
                "binary_version": "2:3.35-2ubuntu2.1"
              },
              {
                "binary_name": "libnss3-tools",
                "binary_version": "2:3.35-2ubuntu2.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "nss",
            "purl": "pkg:deb/ubuntu/nss@2:3.35-2ubuntu2.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:3.35-2ubuntu2.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "2:3.32-1ubuntu3",
            "2:3.34-1ubuntu1",
            "2:3.35-2ubuntu2"
          ]
        },
        {
          "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"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "openssl",
            "purl": "pkg:deb/ubuntu/openssl@1.1.0g-2ubuntu4.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.1.0g-2ubuntu4.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "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.0.0",
                "binary_version": "1.0.2n-1ubuntu5.1"
              },
              {
                "binary_name": "openssl1.0",
                "binary_version": "1.0.2n-1ubuntu5.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "openssl1.0",
            "purl": "pkg:deb/ubuntu/openssl1.0@1.0.2n-1ubuntu5.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.0.2n-1ubuntu5.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.0.2n-1ubuntu2",
            "1.0.2n-1ubuntu3",
            "1.0.2n-1ubuntu4",
            "1.0.2n-1ubuntu5"
          ]
        }
      ],
      "aliases": [],
      "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.",
      "id": "UBUNTU-CVE-2018-0495",
      "modified": "2026-11-24T09:42:11Z",
      "published": "2018-06-13T00:00:00Z",
      "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"
        }
      ],
      "related": [
        "USN-3689-1",
        "USN-3689-2",
        "USN-3692-1",
        "USN-3692-2",
        "USN-3850-1",
        "USN-3850-2"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "low",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2018-0495"
      ]
    }