An update for libssh is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2021-1343 Final 1.0 1.0 2021-09-18 Initial 2021-09-18 2021-09-18 openEuler SA Tool V1.0 2021-09-18 libssh security update An update for libssh is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2. The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl). Security Fix(es): A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.(CVE-2021-3634) An update for libssh is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2. openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. Medium libssh https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1343 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2021-3634 https://nvd.nist.gov/vuln/detail/CVE-2021-3634 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 libssh-0.9.4-5.oe1.aarch64.rpm libssh-devel-0.9.4-5.oe1.aarch64.rpm libssh-debugsource-0.9.4-5.oe1.aarch64.rpm libssh-debuginfo-0.9.4-5.oe1.aarch64.rpm libssh-0.9.4-5.oe1.aarch64.rpm libssh-debugsource-0.9.4-5.oe1.aarch64.rpm libssh-devel-0.9.4-5.oe1.aarch64.rpm libssh-debuginfo-0.9.4-5.oe1.aarch64.rpm libssh-help-0.9.4-5.oe1.noarch.rpm libssh-help-0.9.4-5.oe1.noarch.rpm libssh-0.9.4-5.oe1.src.rpm libssh-0.9.4-5.oe1.src.rpm libssh-debugsource-0.9.4-5.oe1.x86_64.rpm libssh-devel-0.9.4-5.oe1.x86_64.rpm libssh-debuginfo-0.9.4-5.oe1.x86_64.rpm libssh-0.9.4-5.oe1.x86_64.rpm libssh-debugsource-0.9.4-5.oe1.x86_64.rpm libssh-debuginfo-0.9.4-5.oe1.x86_64.rpm libssh-0.9.4-5.oe1.x86_64.rpm libssh-devel-0.9.4-5.oe1.x86_64.rpm A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating "secret_hash" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange. 2021-09-18 CVE-2021-3634 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP2 Medium 6.5 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H libssh security update 2021-09-18 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1343