RedHat: RHSA-2019-2136:01 Moderate: libssh2 security, bug fix,
Summary
The libssh2 packages provide a library that implements the SSH2 protocol.
The following packages have been upgraded to a later upstream version:
libssh2 (1.8.0). (BZ#1592784)
Security Fix(es):
* libssh2: Zero-byte allocation with a specially crafted SFTP packed
leading to an out-of-bounds read (CVE-2019-3858)
* libssh2: Out-of-bounds reads with specially crafted SSH packets
(CVE-2019-3861)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat
Enterprise Linux 7.7 Release Notes linked from the References section.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing these updated packages, all running applications using
libssh2 must be restarted for this update to take effect.
References
https://access.redhat.com/security/cve/CVE-2019-3858 https://access.redhat.com/security/cve/CVE-2019-3861 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index
Package List
Red Hat Enterprise Linux Client (v. 7):
Source:
libssh2-1.8.0-3.el7.src.rpm
x86_64:
libssh2-1.8.0-3.el7.i686.rpm
libssh2-1.8.0-3.el7.x86_64.rpm
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Client Optional (v. 7):
noarch:
libssh2-docs-1.8.0-3.el7.noarch.rpm
x86_64:
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
libssh2-devel-1.8.0-3.el7.i686.rpm
libssh2-devel-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode (v. 7):
Source:
libssh2-1.8.0-3.el7.src.rpm
x86_64:
libssh2-1.8.0-3.el7.i686.rpm
libssh2-1.8.0-3.el7.x86_64.rpm
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
noarch:
libssh2-docs-1.8.0-3.el7.noarch.rpm
x86_64:
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
libssh2-devel-1.8.0-3.el7.i686.rpm
libssh2-devel-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
libssh2-1.8.0-3.el7.src.rpm
ppc64:
libssh2-1.8.0-3.el7.ppc.rpm
libssh2-1.8.0-3.el7.ppc64.rpm
libssh2-debuginfo-1.8.0-3.el7.ppc.rpm
libssh2-debuginfo-1.8.0-3.el7.ppc64.rpm
ppc64le:
libssh2-1.8.0-3.el7.ppc64le.rpm
libssh2-debuginfo-1.8.0-3.el7.ppc64le.rpm
s390x:
libssh2-1.8.0-3.el7.s390.rpm
libssh2-1.8.0-3.el7.s390x.rpm
libssh2-debuginfo-1.8.0-3.el7.s390.rpm
libssh2-debuginfo-1.8.0-3.el7.s390x.rpm
x86_64:
libssh2-1.8.0-3.el7.i686.rpm
libssh2-1.8.0-3.el7.x86_64.rpm
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
noarch:
libssh2-docs-1.8.0-3.el7.noarch.rpm
ppc64:
libssh2-debuginfo-1.8.0-3.el7.ppc.rpm
libssh2-debuginfo-1.8.0-3.el7.ppc64.rpm
libssh2-devel-1.8.0-3.el7.ppc.rpm
libssh2-devel-1.8.0-3.el7.ppc64.rpm
ppc64le:
libssh2-debuginfo-1.8.0-3.el7.ppc64le.rpm
libssh2-devel-1.8.0-3.el7.ppc64le.rpm
s390x:
libssh2-debuginfo-1.8.0-3.el7.s390.rpm
libssh2-debuginfo-1.8.0-3.el7.s390x.rpm
libssh2-devel-1.8.0-3.el7.s390.rpm
libssh2-devel-1.8.0-3.el7.s390x.rpm
x86_64:
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
libssh2-devel-1.8.0-3.el7.i686.rpm
libssh2-devel-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source:
libssh2-1.8.0-3.el7.src.rpm
x86_64:
libssh2-1.8.0-3.el7.i686.rpm
libssh2-1.8.0-3.el7.x86_64.rpm
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
noarch:
libssh2-docs-1.8.0-3.el7.noarch.rpm
x86_64:
libssh2-debuginfo-1.8.0-3.el7.i686.rpm
libssh2-debuginfo-1.8.0-3.el7.x86_64.rpm
libssh2-devel-1.8.0-3.el7.i686.rpm
libssh2-devel-1.8.0-3.el7.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for libssh2 is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux Client (v. 7) - x86_64
Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux ComputeNode (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 7) - noarch, ppc64, ppc64le, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - noarch, x86_64
Bugs Fixed
1687306 - CVE-2019-3858 libssh2: Zero-byte allocation with a specially crafted SFTP packed leading to an out-of-bounds read
1687311 - CVE-2019-3861 libssh2: Out-of-bounds reads with specially crafted SSH packets