NULL pointer dereference in libssh - CVE-2020-16135

 

NULL pointer dereference in libssh - CVE-2020-16135

Published: July 29, 2020 / Updated: September 11, 2020


Vulnerability identifier: #VU34008
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-16135
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error in tftpserver.c if ssh_buffer_new returns NULL. A remote attacker can perform a denial of service (DoS) attack.


Affected software

libssh
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Enterprise Storage
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Ubuntu
Fedora
libssh (Alpine package)
libssh-4 (Ubuntu package)
libssh (Red Hat package)
libssh
libssh4-debuginfo-32bit
libssh4-32bit
libssh-config
libssh-debugsource
libssh4
libssh-devel
libssh4-debuginfo
libssh4-32bit-debuginfo
Cloud Pak for Security (CP4S)
Oracle Communications Cloud Native Core Policy
Migration Toolkit for Containers
Red Hat OpenShift Serverless
Red Hat Advanced Cluster Management for Kubernetes
Red Hat Advanced Cluster Security for Kubernetes
Red Hat OpenStack
PowerStore X
PowerStore T
Storage Resource Manager
EMC Cloud Tiering Appliance
Dell EMC Storage Monitoring and Reporting (SMR)
RSA Authentication Manager

How to mitigate CVE-2020-16135

Install updates from vendor's website.

libssh - update to 0.9.5
libssh (Alpine package) - update to 0.9.5-r0
Cloud Pak for Security (CP4S) - update to 1.10.7.0
libssh-4 (Ubuntu package) - addressed in versions 0.6.3-4.3ubuntu0.6, 0.8.0~20170825.94fa1e38-1ubuntu0.7, 0.9.3-2ubuntu2.1
libssh (Red Hat package) - update to 0.9.4-3.el8
libssh - addressed in versions 0.9.5-1.fc32, 0.9.5-1.fc33
libssh4-debuginfo-32bit - update to 0.9.8-3.12.2
libssh4-32bit - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1
libssh-config - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1
libssh-debugsource - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1
libssh4 - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1
libssh-devel - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1
libssh4-debuginfo - addressed in versions 0.9.8-3.12.2, 0.9.8-150200.13.3.1
libssh4-32bit-debuginfo - update to 0.9.8-150200.13.3.1
Migration Toolkit for Containers - update to 1.5.4
Red Hat OpenShift Serverless - update to 1.20.0
Red Hat Advanced Cluster Management for Kubernetes - update to 2.2.10
PowerStore X - update to 3.2.1.4-2386214
Red Hat Advanced Cluster Security for Kubernetes - update to 3.67
PowerStore T - update to 4.0.0.2-2365061
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
Storage Resource Manager - update to 4.10.0.3
RSA Authentication Manager - update to 8.7 SP2 Patch 2
EMC Cloud Tiering Appliance - update to 13.2.0.2.29
Red Hat OpenStack - update to 16.2

External References

Related Security Bulletins