Improper Input Validation Affecting libssh2 package, versions [,1.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.43% (87th 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-UNMANAGED-LIBSSH2-2319464
  • published14 Dec 2021
  • disclosed13 Mar 2015
  • creditUnknown

Introduced: 13 Mar 2015

CVE-2015-1782  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade libssh2 to version 1.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The kex_agree_methods function in libssh2 before 1.5.0 allows remote servers to cause a denial of service (crash) or have other unspecified impact via crafted length values in an SSH_MSG_KEXINIT packet.

CVSS Scores

version 3.1