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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.75% (91st 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-2379513
  • published26 Jan 2022
  • disclosed30 Nov 2012
  • creditUnknown

Introduced: 30 Nov 2012

CVE-2012-4561  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade libssh to version 0.5.3 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free "an invalid pointer on an error path," which might allow remote attackers to cause a denial of service (crash) via unspecified vectors.

References

CVSS Base Scores

version 3.1