MEDIUM SEVERITY

CVE-2021-3634

Libssh vulnerability

CVSS
6.5
EPSS
4.7%
EPSS pct
91th
Exploited
No known
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.
Affected vendor
Libssh
Affected product
Libssh
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type (CWE)
Published
2021-08-31

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring low privileges, no user interaction. Successful exploitation leads to high impact to availability.

Its EPSS score of 4.7% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 91% of all scored CVEs.

Check your external exposure to CVE-2021-3634

  • Confirm whether Libssh Libssh is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2021-3634.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2021-3634

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2021-3634 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2021-3634?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2021-3634.

Start free scan

No credit card. Agentless.