CVE-2016-0787
libssh2 - security update
5.9
MEDIUM
CVSS 3.1
EPSS 3.1%
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."
How to fix CVE-2016-0787
To remediate CVE-2016-0787, upgrade the affected package to a fixed version below.
- Alpine/libssh2—upgrade to 1.7.0-r0 or later
- —upgrade to 1.5.0-2.1 or later
- —upgrade to 1.2.6-1+deb6u2 or later
- —upgrade to 1.4.2-1.1+deb7u2 or later
Is CVE-2016-0787 being exploited?
Low — EPSS is 3.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.7.0-r0
- from 0, < 1.5.0-2.1
- from 0, < 1.2.6-1+deb6u2
- from 0, < 1.4.2-1.1+deb7u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |