Incorrect Type Conversion or Cast Affecting libssh package, versions <0:0.7.1-2.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.33% (71st 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-RHEL7-LIBSSH-5040469
  • published27 Mar 2023
  • disclosed23 Feb 2016

Introduced: 23 Feb 2016

CVE-2016-0739  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libssh to version 0:0.7.1-2.el7 or higher.
This issue was patched in RHSA-2016:0566.

NVD Description

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

libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key exchange methods to 128 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 Scores

version 3.1