Resource Management Errors Affecting libssh package, versions [,0.5.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.02% (77th 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-2379524
  • published26 Jan 2022
  • disclosed5 Feb 2013
  • creditUnknown

Introduced: 5 Feb 2013

CVE-2013-0176  (opens in a new tab)
CWE-399  (opens in a new tab)

How to fix?

Upgrade libssh to version 0.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Resource Management Errors. The publickey_from_privatekey function in libssh before 0.5.4, when no algorithm is matched during negotiations, allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a "Client: Diffie-Hellman Key Exchange Init" packet.

References

CVSS Base Scores

version 3.1