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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-36334Dell EMC CloudLink 7.1 and all prior versions contain a CSV …6.8
- CVE-2021-36335Dell EMC CloudLink 7.1 and all prior versions contain an Imp…8.8
- CVE-2021-36336Wyse Management Suite 3.3.1 and below versions contain a des…9.8
- CVE-2021-36337Dell Wyse Management Suite version 3.3.1 and prior support i…7.4
- CVE-2021-36338Unisphere for PowerMax versions prior to 9.2.2.2 contains a …8
- CVE-2021-36339The Dell EMC Virtual Appliances before 9.2.2.2 contain undoc…7.8
- CVE-2021-36340Dell EMC SCG 5.00.00.10 and earlier, contain a sensitive inf…5.5
- CVE-2021-36341Dell Wyse Device Agent version 14.5.4.1 and below contain a …5.5
- CVE-2021-36342Dell BIOS contains an improper input validation vulnerabilit…6.4
- CVE-2021-36343Dell BIOS contains an improper input validation vulnerabilit…6.4
- CVE-2021-36346Dell iDRAC 8 prior to version 2.82.82.82 contain a denial of…5.3
- CVE-2021-36347iDRAC9 versions prior to 5.00.20.00 and iDRAC8 versions prio…7.2
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
