CVE-2021-3634: debian debian_linux Out-of-bounds Write
Vulnerability summary
CVE-2021-3634 is a medium (CVSS 6.5) Out-of-bounds Write vulnerability in debian debian_linux. EPSS estimates a 4.68% chance of exploitation in the next 30 days, higher than 92% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 31-08-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated3.5LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
4.68%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.68% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat7 products
- enterprise_linux8.0
- virtualization4.0
- libssh< 0:0.9.6-3.el8
- libssh-config< 0:0.9.6-3.el8
- libssh-debuginfo< 0:0.9.6-3.el8
Debian2 products
- libssh< 0.9.6-1 | < 0.9.5-1+deb11u1
- debian_linuxEOL10.0 | 11.0
Alpine1 product
- libssh≥ 0.9.1, < 0.9.6-r0
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Libssh1 product
- libssh≥ 0.9.1, < 0.9.6
Mageia1 product
- libssh< 0.9.6-1.mga8
Netapp1 product
Oracle1 product
- mysql_workbench≤ 8.0.27
Ubuntu1 product
- libssh< 0.9.3-2ubuntu2.2 | < 0.9.6-1
9 vendors · 16 products
References
25 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- security.netapp.com/advisory/ntap-20211004-0003/Third Party Advisory
- security.gentoo.org/glsa/202312-05Vendor Advisory