Improper Input Validation Affecting libssh2 package, versions >=0.0.0


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.61% (79th percentile)
Expand this section
NVD
6.3 medium
Expand this section
Red Hat
7.5 high

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 ID SNYK-COCOAPODS-LIBSSH2-470846
  • published 2 Oct 2019
  • disclosed 13 Mar 2015
  • credit Mariusz Ziulek

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.