Denial of Service (DoS) Affecting libssh package, versions [,0.7.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.91% (90th 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-LIBSSH-2379514
  • published26 Jan 2022
  • disclosed13 Apr 2016
  • creditUnknown

Introduced: 13 Apr 2016

CVE-2015-3146  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade libssh to version 0.7.2 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state, which allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted SSH packet.

References

CVSS Base Scores

version 3.1