1. CVE archive
  2. 2016
  3. CVE-2016-0739

CVE-2016-0739

5.9 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 5.9 – Medium

Description

libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key exchange methods to 128 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug."

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
canonical ubuntu linux 15.10 –
debian debian linux 7.0 –
debian debian linux 8.0 –
fedoraproject fedora 22 –
fedoraproject fedora 23 –
libssh libssh <= 0.7.2 –
redhat enterprise linux 7.0 –
All 45 Libssh vulnerabilities

Vulnerability type

CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Impact on systems

ScopeImpact
Confidentiality Read Application Data

How to prevent it

Architecture and Design · Separation of Privilege Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

All 11,906 CWE-200 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org