6.5

CVE-2021-3634: debian debian_linux Out-of-bounds Write

Modified
AliasesMGASA-2021-0441RHSA-2022:2031UBUNTU-CVE-2021-3634
Published 31-08-2021Last modified 03-08-2024

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.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
4.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 31-08-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat7 products
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
Libssh1 product
Mageia1 product
  • libssh< 0.9.6-1.mga8
Netapp1 product
Oracle1 product
Ubuntu1 product
  • libssh< 0.9.3-2ubuntu2.2 | < 0.9.6-1

9 vendors · 16 products

References

25 links
Show all 25 references