Vulnerabilities > CVE-2016-6489 - Information Exposure Through Discrepancy vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
NONE
Availability impact
NONE
network
low complexity
redhat
canonical
nettle-project
CWE-203
nessus

Summary

The RSA and DSA decryption code in Nettle makes it easier for attackers to discover private keys via a cache side channel attack.

Common Weakness Enumeration (CWE)

Nessus

  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2016-1061.NASL
    descriptionAccording to the versions of the nettle packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. - Secure Fix(es): - The ecc_256_modp function in ecc-256.c in Nettle before 3.2 does not properly handle carry propagation and produces incorrect output in its implementation of the P-256 NIST elliptic curve, which allows attackers to have unspecified impact via unknown vectors, a different vulnerability than CVE-2015-8805.(CVE-2015-8803) - x86_64/ecc-384-modp.asm in Nettle before 3.2 does not properly handle carry propagation and produces incorrect output in its implementation of the P-384 NIST elliptic curve, which allows attackers to have unspecified impact via unknown vectors.(CVE-2015-8804) - The ecc_256_modq function in ecc-256.c in Nettle before 3.2 does not properly handle carry propagation and produces incorrect output in its implementation of the P-256 NIST elliptic curve, which allows attackers to have unspecified impact via unknown vectors, a different vulnerability than CVE-2015-8803.(CVE-2015-8805) - It was found that nettle
    last seen2020-05-06
    modified2017-05-01
    plugin id99823
    published2017-05-01
    reporterThis script is Copyright (C) 2017-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/99823
    titleEulerOS 2.0 SP1 : nettle (EulerOS-SA-2016-1061)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201706-21.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201706-21 (nettle: Information disclosure) It was found that nettle’s RSA and DSA decryption code was vulnerable to cache-related side channel attacks. See the referenced technical paper “Cache Attacks Enable Bulk Key Recovery on the Cloud” below for details. Impact : An attacker could recover the private key from a co-located virtual-machine instance. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id101016
    published2017-06-23
    reporterThis script is Copyright (C) 2017-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/101016
    titleGLSA-201706-21 : nettle: Information disclosure
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2017-1481-1.NASL
    descriptionThis update for libnettle fixes the following issues : - CVE-2016-6489 : - Reject invalid RSA keys with even modulo. - Check for invalid keys, with even p, in dsa_sign(). - Use function mpz_powm_sec() instead of mpz_powm() (bsc#991464). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id100614
    published2017-06-05
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/100614
    titleSUSE SLED12 / SLES12 Security Update : libnettle (SUSE-SU-2017:1481-1)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2018-1_0-0119_NETTLE.NASL
    descriptionAn update of the nettle package has been released.
    last seen2020-03-17
    modified2019-02-07
    plugin id121816
    published2019-02-07
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121816
    titlePhoton OS 1.0: Nettle PHSA-2018-1.0-0119
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2016-2582.NASL
    descriptionFrom Red Hat Security Advisory 2016:2582 : An update for nettle is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Nettle is a cryptographic library that is designed to fit easily in almost any context: In cryptographic toolkits for object-oriented languages, such as C++, Python, or Pike, in applications like lsh or GnuPG, or even in kernel space. Security Fix(es) : * Multiple flaws were found in the way nettle implemented elliptic curve scalar multiplication. These flaws could potentially introduce cryptographic weaknesses into nettle
    last seen2020-06-01
    modified2020-06-02
    plugin id94704
    published2016-11-11
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94704
    titleOracle Linux 7 : nettle (ELSA-2016-2582)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2016-2582.NASL
    descriptionAn update for nettle is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Nettle is a cryptographic library that is designed to fit easily in almost any context: In cryptographic toolkits for object-oriented languages, such as C++, Python, or Pike, in applications like lsh or GnuPG, or even in kernel space. Security Fix(es) : * Multiple flaws were found in the way nettle implemented elliptic curve scalar multiplication. These flaws could potentially introduce cryptographic weaknesses into nettle
    last seen2020-06-01
    modified2020-06-02
    plugin id95329
    published2016-11-28
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95329
    titleCentOS 7 : nettle (CESA-2016:2582)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-3193-1.NASL
    descriptionIt was discovered that Nettle incorrectly mitigated certain timing side-channel attacks. A remote attacker could possibly use this flaw to recover private keys. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id97050
    published2017-02-07
    reporterUbuntu Security Notice (C) 2017-2019 Canonical, Inc. / NASL script (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/97050
    titleUbuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : nettle vulnerability (USN-3193-1)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20161103_NETTLE_ON_SL7_X.NASL
    descriptionSecurity Fix(es) : - Multiple flaws were found in the way nettle implemented elliptic curve scalar multiplication. These flaws could potentially introduce cryptographic weaknesses into nettle
    last seen2020-03-18
    modified2016-12-15
    plugin id95849
    published2016-12-15
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95849
    titleScientific Linux Security Update : nettle on SL7.x x86_64 (20161103)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2017-675.NASL
    descriptionThis update for libnettle fixes the following issues : - CVE-2016-6489 : - Reject invalid RSA keys with even modulo. - Check for invalid keys, with even p, in dsa_sign(). - Use function mpz_powm_sec() instead of mpz_powm() (bsc#991464). This update was imported from the SUSE:SLE-12:Update update project.
    last seen2020-06-05
    modified2017-06-13
    plugin id100753
    published2017-06-13
    reporterThis script is Copyright (C) 2017-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/100753
    titleopenSUSE Security Update : libnettle (openSUSE-2017-675)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2016-2582.NASL
    descriptionAn update for nettle is now available for Red Hat Enterprise Linux 7. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. Nettle is a cryptographic library that is designed to fit easily in almost any context: In cryptographic toolkits for object-oriented languages, such as C++, Python, or Pike, in applications like lsh or GnuPG, or even in kernel space. Security Fix(es) : * Multiple flaws were found in the way nettle implemented elliptic curve scalar multiplication. These flaws could potentially introduce cryptographic weaknesses into nettle
    last seen2020-06-01
    modified2020-06-02
    plugin id94545
    published2016-11-04
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/94545
    titleRHEL 7 : nettle (RHSA-2016:2582)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2016-762CB57C92.NASL
    descriptionNettle 3.3: https://lists.gnu.org/archive/html/info-gnu/2016-10/msg00003.html GnuTLS 3.5.5: https://lists.gnupg.org/pipermail/gnutls-devel/2016-October/008194.htm l Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-05
    modified2016-11-21
    plugin id95005
    published2016-11-21
    reporterThis script is Copyright (C) 2016-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/95005
    titleFedora 25 : mingw-gnutls / mingw-nettle (2016-762cb57c92)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2018-1_0-0119.NASL
    descriptionAn update of 'nettle' packages of Photon OS has been released.
    last seen2019-02-08
    modified2019-02-07
    plugin id111925
    published2018-08-17
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=111925
    titlePhoton OS 1.0: Nettle PHSA-2018-1.0-0119 (deprecated)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DLA-593.NASL
    descriptionThe cryptographic library nettle had a potential information leak problem reported. CVE-2016-6489 RSA code is vulnerable to cache sharing related attacks. For Debian 7
    last seen2020-03-17
    modified2016-08-12
    plugin id92874
    published2016-08-12
    reporterThis script is Copyright (C) 2016-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/92874
    titleDebian DLA-593-1 : nettle security update

Redhat

advisories
bugzilla
id1362016
titleCVE-2016-6489 nettle: RSA/DSA code is vulnerable to cache-timing related attacks
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 7 is installed
      ovaloval:com.redhat.rhba:tst:20150364027
    • OR
      • AND
        • commentnettle is earlier than 0:2.7.1-8.el7
          ovaloval:com.redhat.rhsa:tst:20162582001
        • commentnettle is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20162582002
      • AND
        • commentnettle-devel is earlier than 0:2.7.1-8.el7
          ovaloval:com.redhat.rhsa:tst:20162582003
        • commentnettle-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20162582004
rhsa
idRHSA-2016:2582
released2016-11-03
severityModerate
titleRHSA-2016:2582: nettle security and bug fix update (Moderate)
rpms
  • nettle-0:2.7.1-8.el7
  • nettle-debuginfo-0:2.7.1-8.el7
  • nettle-devel-0:2.7.1-8.el7