CVE-2021-3634 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libssh libssh | >= 0.9.1, < 0.9.6 |
CPE
Remediation
| |
| redhat virtualization | 4.0 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 |
CPE
Remediation
| |
| debian debian linux | 10.0 11.0 |
CPE
Remediation
| |
| fedoraproject fedora | 33 34 35 |
CPE
Remediation
| |
| oracle mysql workbench | <= 8.0.27 |
CPE
Remediation
| |
| netapp cloud backup | All versions |
CPE
Remediation
| |
Change History
18 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Dec 22, 2023 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Nov 16, 2022 | Modified Analysis | [email protected] |
| Oct 7, 2022 | CVE Modified | [email protected] |
| May 26, 2022 | Reanalysis | [email protected] |
| Apr 25, 2022 | Reanalysis | [email protected] |
| Mar 4, 2022 | Modified Analysis | [email protected] |
| Feb 7, 2022 | CVE Modified | [email protected] |
| Oct 18, 2021 | Modified Analysis | [email protected] |
| Oct 7, 2021 | CVE Modified | [email protected] |
| Oct 4, 2021 | CVE Modified | [email protected] |
| Sep 29, 2021 | CVE Modified | [email protected] |
| Sep 29, 2021 | CVE Modified | [email protected] |
| Sep 9, 2021 | Initial Analysis | [email protected] |
| Aug 31, 2021 | CVE Modified | [email protected] |