Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-3634

6.5 · MEDIUM
Published Aug 31, 2021 libssh CWE-787 EPSS 4.68% (91th pctl)

Overview

CVE-2021-3634 is a medium-severity vulnerability affecting libssh libssh. It was published on August 31, 2021 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from libssh. Update libssh to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
libssh libssh >= 0.9.1, < 0.9.6 Affected
oracle mysql_workbench 0 Affected

Frequently Asked Questions

What is CVE-2021-3634?

CVE-2021-3634 is a medium-severity vulnerability affecting libssh libssh. It was published on August 31, 2021 and has a CVSS 3.1 base score of 6.5 (MEDIUM).

How severe is CVE-2021-3634?

This vulnerability has a CVSS 3.1 base score of 6.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-3634?

Check the references section for vendor advisories and patches from libssh. Update libssh to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-3634?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-3634 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.