CVEvulnerability
CVE-2016-0787
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2016-04-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 5.9 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-200
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."
Affected configurations
• fedoraproject fedora 22
• fedoraproject fedora 23
• opensuse opensuse 13.2
• libssh2 libssh2 (<= 1.6.0)
• debian debian linux 7.0
• debian debian linux 8.0
Related
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html lists.fedoraproject.org
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html lists.opensuse.org
- http://www.debian.org/security/2016/dsa-3487 www.debian.org
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html www.oracle.com
- http://www.securityfocus.com/bid/82514 www.securityfocus.com
- https://bto.bluecoat.com/security-advisory/sa120 bto.bluecoat.com
- https://kc.mcafee.com/corporate/index?page=content&id=SB10156 kc.mcafee.com
- https://puppet.com/security/cve/CVE-2016-0787 puppet.com
- https://security.gentoo.org/glsa/201606-12 Third Party Advisory
- https://www.libssh2.org/CVE-2016-0787.patch Patch
- https://www.libssh2.org/adv_20160223.html Vendor Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177980.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178573.html lists.fedoraproject.org
- http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html lists.opensuse.org
- http://www.debian.org/security/2016/dsa-3487 www.debian.org
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html www.oracle.com
- http://www.securityfocus.com/bid/82514 www.securityfocus.com
- https://bto.bluecoat.com/security-advisory/sa120 bto.bluecoat.com
- https://kc.mcafee.com/corporate/index?page=content&id=SB10156 kc.mcafee.com
- https://puppet.com/security/cve/CVE-2016-0787 puppet.com
- https://security.gentoo.org/glsa/201606-12 Third Party Advisory
- https://www.libssh2.org/CVE-2016-0787.patch Patch
- https://www.libssh2.org/adv_20160223.html Vendor Advisory