Information disclosure in Libssh2
CVE-2016-0787
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."
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.026, 85.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libssh2
- Debian Linux — versions 7.0, 8.0
- Fedoraproject Fedora — versions 22, 23
- openSUSE — versions 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, RedHatSatellite/satellite-host-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- FEDORA-2016-215a2219b1 (vendor-advisory)
- kc.mcafee.com/corporate/index
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.libssh2.org/CVE-2016-0787.patch (Patch)
- www.libssh2.org/adv_20160223.html (Vendor Advisory)
- puppet.com/security/cve/CVE-2016-0787
- FEDORA-2016-7942ee2cc5 (vendor-advisory)
- GLSA-201606-12 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2016:0639 (vendor-advisory)
- bto.bluecoat.com/security-advisory/sa120