Integer overflow in libssh2 - CVE-2019-17498

 

Integer overflow in libssh2 - CVE-2019-17498

Published: November 7, 2019 / Updated: September 7, 2023


Vulnerability identifier: #VU22574
CSH Severity: High
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-17498
CWE-ID: CWE-190
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 or access sensitive information.

The vulnerability exists due to integer overflow in the "SSH_MSG_DISCONNECT" logic in "packet.c" in a bounds check. A remote attacker can specify an arbitrary (out-of-bounds) offset for a subsequent memory read, trigger out-of-bounds read, disclose sensitive information or cause a denial of service condition on the target system when a user connects to the malicious SSH server.



Affected software

libssh2
Red Hat OpenShift Container Platform
Ansible Automation Platform
Oracle Life Sciences InForm Publisher
Oracle Life Sciences InForm
libssh2 (Alpine package)
libssh2 (Red Hat package)
libssh2
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Opensuse
Fedora
IBM Tivoli Storage Manager
SmartFabric OS10
Enterprise SONiC
Data Computing Appliance (DCA)
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)
RecoverPoint for VMs
RSA Authentication Manager

How to mitigate CVE-2019-17498

Install update from vendor's website.

Ansible Automation Platform - addressed in versions 1.0, 1.1, 1.2.4
libssh2 (Red Hat package) - update to 1.8.0-4.el7
SmartFabric OS10 - update to 10.5.4.11
libssh2 - addressed in versions 1.9.0-3.fc30, 1.9.0-3.fc31
Enterprise SONiC - update to 4.1.2
Data Computing Appliance (DCA) - update to 4.3.0.0
Red Hat OpenShift Container Platform - update to 4.3.40
Dell EMC Unity Operating Environment (OE) - update to 5.0.3.0.5.014
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.3.0.5.014
RecoverPoint for VMs - update to 6.0.SP1.P1
RSA Authentication Manager - update to 8.4 Patch 9

External References

Related Security Bulletins