CVE-2021-3634
Last modified
CVE-2021-3634 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 4.68% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 | All versions |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1978810Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211004-0003/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4965Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1978810Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211004-0003/Third Party Advisory
- https://www.debian.org/security/2021/dsa-4965Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3634?
How severe is CVE-2021-3634?
How do I fix CVE-2021-3634?
Are you affected by CVE-2021-3634?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
