First published: Fri Jul 02 2021(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Libssh Libssh | >=0.9.1<0.9.6 | |
Redhat Virtualization | =4.0 | |
Redhat Enterprise Linux | =8.0 | |
Debian Debian Linux | =10.0 | |
Debian Debian Linux | =11.0 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 | |
Fedoraproject Fedora | =35 | |
Oracle Mysql Workbench | <=8.0.27 | |
Netapp Cloud Backup | ||
redhat/libssh | <0.9.6 | 0.9.6 |
debian/libssh | 0.8.7-1+deb10u1 0.8.7-1+deb10u2 0.9.7-0+deb11u1 0.9.8-0+deb11u1 0.10.5-2 0.10.6-0+deb12u1 0.10.6-2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-3634 is a vulnerability found in libssh in versions prior to 0.9.6.
CVE-2021-3634 has a severity level of 6.5 (high).
No, libssh version 0.9.6 is not affected by CVE-2021-3634.
To fix CVE-2021-3634 in libssh, you should upgrade to version 0.9.6 or later.
You can find more information about CVE-2021-3634 in the following references: [Link 1](https://bugzilla.redhat.com/show_bug.cgi?id=1978810), [Link 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DRK67AJCWYYVAGF5SGAHNZXCX3PN3ZFP/), [Link 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JKYD3ZRAMDAQX3ZW6THHUF3GXN7FF6B4/)