CVE-2016-0787 — Sensitive Information Exposure in Libssh2
CWE-200 — Sensitive Information ExposureCWE-704 — Incorrect Type Conversion or Cast12 documents8 sources
Severity
5.9MEDIUMNVD
EPSS
3.1%
top 13.09%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 13
Latest updateMay 14
Description
The diffie_hellman_sha256 function in kex.c in libssh2 before 1.7.0 improperly truncates secrets to 128 or 256 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."
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 2.2 | Impact: 3.6
Affected Packages3 packages
Also affects: Debian Linux 7.0, 8.0, Fedora 22, 23
Patches
🔴Vulnerability Details
3💥Exploits & PoCs
1Metasploit▶
Background Intelligent Transfer Service Arbitrary File Move Privilege Elevation Vulnerability↗
📋Vendor Advisories
2💬Community
5Bugzilla▶
CVE-2016-0787 mingw-libssh2: libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length [epel-7]↗2016-02-23
Bugzilla▶
CVE-2016-0787 libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length [epel-5]↗2016-02-23
Bugzilla▶
CVE-2016-0787 libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length [fedora-all]↗2016-02-23
Bugzilla▶
CVE-2016-0787 mingw-libssh2: libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length [fedora-all]↗2016-02-23
Bugzilla▶
CVE-2016-0787 libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length↗2016-02-09