NULL Pointer Dereference Affecting libssh package, versions [,0.8.9)[0.9.0, 0.9.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (24th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBSSH-2379512
  • published26 Jan 2022
  • disclosed13 Apr 2020
  • creditUnknown

Introduced: 13 Apr 2020

CVE-2020-1730  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade libssh to version 0.8.9, 0.9.4 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference. A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.

References

CVSS Base Scores

version 3.1