Improper Input Validation Affecting libssh2 package, versions >=0.0.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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-COCOAPODS-LIBSSH2-470846
  • published2 Oct 2019
  • disclosed13 Mar 2015
  • creditMariusz Ziulek

Introduced: 13 Mar 2015

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

How to fix?

There is no fixed version for libssh2.

Overview

libssh2 is a client-side C library implementing the SSH2 protocol.

Affected versions of this package are vulnerable to Improper Input Validation libssh2 is vulnerable to denial of service (DoS) attacks and other attacks. kex_agree_methods function in libssh2 reads incoming SSH_MSG_KEXINIT packet data without a proper range checking of length values, thereby allowing remote servers to cause a denial of service by using malicious SSH_MSG_KEXINIT packet.

CVSS Scores

version 3.1