CVE-2016-0787
libssh2: bits/bytes confusion resulting in truncated Diffie-Hellman secret length
Overview
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."
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-200
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 10 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libssh2 +2 | 1.4.3-10.el7_2.1 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | libssh2 +2 | 0:1.4.3-10.el7_2.1 | RHSA-2016:0428 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libssh2 | 1.5.0-2.1 |
| 12 | libssh2 | 1.5.0-2.1 |
| 13 | libssh2 | 1.5.0-2.1 |
| 14 | libssh2 | 1.5.0-2.1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libssh2 | 1.5.0-2.1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libssh2-1 +2 | 1.7.0-1.5 | openSUSE-SU-2024:10190-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-libssh2 | 1.5.0-2.1 |
| 13 | rootio-libssh2 | 1.5.0-2.1 |
References
- lists.fedoraproject.org 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.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-03/msg00008.html
- www.debian.org http://www.debian.org/security/2016/dsa-3487
- www.libssh2.org http://www.libssh2.org/adv_20160223.html
- www.oracle.com http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- www.securityfocus.com http://www.securityfocus.com/bid/82514
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-0787
- bto.bluecoat.com https://bto.bluecoat.com/security-advisory/sa120
- kc.mcafee.com https://kc.mcafee.com/corporate/index?page=content&id=SB10156
Show all 18 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-0787.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2016-0428.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-0787
- puppet.com https://puppet.com/security/cve/CVE-2016-0787
- security.gentoo.org https://security.gentoo.org/glsa/201606-12
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-0787
- www.libssh2.org https://www.libssh2.org/CVE-2016-0787.patch
- www.libssh2.org https://www.libssh2.org/adv_20160223.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.