WaratekVRT Sign in

CVE-2021-3634 libssh

Affected softwarelibssh
Severity6.5 Medium CVSS 3.1 2 scores
WeaknessOut-of-bounds write (CWE-787)
Published31 Aug 2021
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 4.7% chance in 30 days

Waratek protection

Outside Waratek scope

A Java vulnerability, but not one Waratek protects. It affects only Java on a user's desktop (applets, Web Start, JavaFX, the installer), sits in a product the Waratek agent can't be installed into, or is in a package we don't expect in business applications. The decision below says which.

  • Protection none
  • Action not pursued none
  • Review automated Upstream data
  • Record active
Decided by The only affected product being a sealed appliance image, where Java runs but no -javaagent can be attached
Finding This CVE names only products the Waratek agent cannot be installed into (netapp/cloud_backup). They ship as sealed appliance images or as native code with no application JVM, so there is no start-up line to add -javaagent to. The vulnerability may well be a Java one; it is permanently out of ARMR's reach rather than outside its subject.

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:N/I:N/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2022 ↗ CPU 2022-Q1 Oracle MySQL / Workbench: libssh (8.0.27 and prior)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle MySQL Workbench: libssh 8.0.27 and prior

Products and versions

7 products, 10 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 10.0 · 11.0
nvd fedoraproject fedora generic 33 · 34 · 35
nvd libssh libssh generic ≥ 0.9.1 and < 0.9.6
nvd netapp cloud backup generic any version
nvd oracle mysql workbench generic ≤ 8.0.27
nvd redhat enterprise linux generic 8.0
nvd redhat virtualization generic 4.0

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=1978810 Issue Tracking, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRK67AJCWYYVAGF5SGAHNZXCX3PN3ZFP/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKYD3ZRAMDAQX3ZW6THHUF3GXN7FF6B4/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWAAB2XMKEUMPMDALINKAA4U2QM4LNG/
https://security.gentoo.org/glsa/202312-05
https://security.netapp.com/advisory/ntap-20211004-0003/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4965 Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html Patch, Third Party Advisory

Timeline

Published2021-08-31By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.