Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. libssh2-vc141_xp
  4. ›
  5. CVE-2016-0787

CVE-2016-0787: Exposure of Sensitive Information to an Unauthorized Actor

April 13, 2016 (updated October 30, 2018)

The diffie_hellman_sha256 function in kex.c in libssh2 improperly truncates secrets to 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.”

References

  • nvd.nist.gov/vuln/detail/CVE-2016-0787

Code Behaviors & Features

Detect and mitigate CVE-2016-0787 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.6.0

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

nuget/libssh2-vc141_xp/CVE-2016-0787.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:28 +0000.