Cloudanix VulnDB

CVE-2016-6489

High · 7.5

CVSS

7.5

EPSS

5.0%

Published

Apr 14, 2017

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A weakness in encryption software could let attackers steal secret keys that protect private data, putting sensitive information at risk of exposure.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability in Nettle's RSA and DSA decryption routines allows cache side-channel attacks that can leak private key material through observable timing or cache access patterns during cryptographic operations.

Why it matters to the business

Recovery of private keys could allow attackers to decrypt protected communications or data, leading to loss of confidentiality for sensitive information and potential compromise of authentication mechanisms.

How an attack unfolds

An attacker with local or co-located access observes cache behavior while the target performs RSA or DSA decryption, collecting side-channel data over repeated operations to reconstruct bits of the private key.

How to fix it

Apply the patch from commit c16fa4f2ad19908a47c63d8fa436a1178438c7e7 in the affected Linux kernel git repository to address the side-channel leakage in Nettle's decryption code.

How to confirm the fix worked

Confirm the fix commit is present in the source tree or verify that Nettle-based cryptographic components have been rebuilt with the updated implementation; test decryption operations for consistent timing behavior.

Typical attack path

  1. Gain access to observe CPU cache activity on the target system
  2. Trigger or intercept RSA/DSA decryption operations
  3. Measure cache hits, misses, or timing variations during key-dependent computations
  4. Aggregate observations across multiple decryptions to recover private key bits
  5. Reconstruct and validate the full private key

How to detect it

Side-channel exploitation leaves minimal artifacts; examine system performance logs, cryptographic library usage, and any unusual patterns in decryption latency or cache-related monitoring tools for signs of targeted observation.

What your security team should do

  • Prioritize patching the affected cryptographic library across all systems
  • Review and rotate any RSA or DSA keys that may have been used in vulnerable environments
  • Implement constant-time cryptographic primitives where possible to reduce side-channel exposure

The record

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

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 nettle 0 3.3-1
Debian:12 nettle 0 3.3-1
Debian:13 nettle 0 3.3-1
Debian:14 nettle 0 3.3-1
Debian:7 nettle 0 2.4-3+deb7u1
Mageia:5 nettle 0 3.0-3.2.mga5
Mageia:5 nettle2.7 0 2.7.1-6.2.mga5
Red Hat:enterprise_linux:7::client nettle 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::client nettle-debuginfo 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::client nettle-devel 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::computenode nettle 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::computenode nettle-debuginfo 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::computenode nettle-devel 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::server nettle 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::server nettle-debuginfo 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::server nettle-devel 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::workstation nettle 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::workstation nettle-debuginfo 0 0:2.7.1-8.el7
Red Hat:enterprise_linux:7::workstation nettle-devel 0 0:2.7.1-8.el7
SUSE:Linux Enterprise Desktop 12 SP2 libnettle 0 2.7.1-12.1
SUSE:Linux Enterprise Server 12 SP2 libnettle 0 2.7.1-12.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 libnettle 0 2.7.1-12.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 libnettle 0 2.7.1-12.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 libnettle 0 2.7.1-12.1
Ubuntu:14.04:LTS nettle 0 2.7.1-1ubuntu0.2
Ubuntu:16.04:LTS nettle 0 3.2-1ubuntu0.16.04.1

Related vulnerabilities