Improper Handling of Length Parameter Inconsistency Affecting libssh2 package, versions <0:1.4.3-12.el7_6.3


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.7% (88th 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-LIBSSH2-7969251
  • published14 Sept 2024
  • disclosed13 Mar 2019

Introduced: 13 Mar 2019

CVE-2019-3862  (opens in a new tab)
CWE-130  (opens in a new tab)

How to fix?

Upgrade RHEL:7 libssh2 to version 0:1.4.3-12.el7_6.3 or higher.
This issue was patched in RHSA-2019:1884.

NVD Description

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

An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SSH_MSG_CHANNEL_REQUEST packets with an exit status message and no payload are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

References