Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fedoraproject | Fedora | 22 |
| Opensuse | Opensuse | 13.2 |
| Libssh2 | Libssh2 | <= 1.6.0 |
| Debian | Debian Linux | 7.0 |
Related Weaknesses (CWE)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.h
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html
- http://www.debian.org/security/2016/dsa-3487
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.h
- http://www.securityfocus.com/bid/82514
- https://bto.bluecoat.com/security-advisory/sa120
- https://kc.mcafee.com/corporate/index?page=content&id=SB10156
- https://puppet.com/security/cve/CVE-2016-0787
- https://security.gentoo.org/glsa/201606-12Third Party Advisory
- https://www.libssh2.org/CVE-2016-0787.patchPatch
- https://www.libssh2.org/adv_20160223.htmlVendor Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.h
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html
FAQ
What is CVE-2016-0787?
CVE-2016-0787 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 s...
How severe is CVE-2016-0787?
CVE-2016-0787 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2016-0787?
Check the references section above for vendor advisories and patch information. Affected products include: Fedoraproject Fedora, Opensuse Opensuse, Libssh2 Libssh2, Debian Debian Linux.