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 (84.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 84.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.026 · change: 0.000
Affected products
- Libssh2
- Debian Linux — versions 7.0, 8.0
- Fedoraproject Fedora — versions 22, 23
- openSUSE — versions 13.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.html (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
- lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html (vendor-advisory)
- security.gentoo.org/glsa/201606-12 (vendor-advisory, Third Party Advisory)
- lists.opensuse.org/opensuse-updates/2016-03/msg00008.html (vendor-advisory)
- bto.bluecoat.com/security-advisory/sa120
Frequently asked questions
- What is CVE-2016-0787?
- CVE-2016-0787 is a medium-severity vulnerability in Libssh2, classified under Information Disclosure. CVSS score: 5.9/10. Published 2016-04-13.
- How severe is CVE-2016-0787?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2016-0787 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.