6.5

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

CVSS: 6.5v3.1MediumModified
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 91.6% of scored vulnerabilities.

Overall risk
27/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
4.68%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

5 scores · 4 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

0.00 pp

From 4.68% on 18-09-2026

18-09-202618-10-2026
EPSS score
4.68%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat7 products
Debian2 products
  • libssh< 0.9.6-1 | < 0.9.5-1+deb11u1
  • debian_linuxEOL10.0 | 11.0
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

8 vendors · 15 products

References

24 links
Show all 24 references