Information Exposure Affecting libssh2 package, versions <1.7.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.59% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE34-LIBSSH2-279741
  • published13 Apr 2016
  • disclosed13 Apr 2016

Introduced: 13 Apr 2016

CVE-2016-0787  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade Alpine:3.4 libssh2 to version 1.7.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2 package and not the libssh2 package as distributed by Alpine. See How to fix? for Alpine:3.4 relevant fixed versions and status.

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 Base Scores

version 3.1