Search vulnerabilities

Results 45

Export CSV
CVE-2021-3634

libssh: possible heap-based buffer overflow when rekeying

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 3.1 · 6.5 Medium EPSS 4.7% KEV · Not listed
Vendors
Products
CVE-2020-1730

libssh: denial of service when handling AES-CTR (or DES) ciphers

A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it handled AES-CTR (or DES ciphers if enabled) ciphers. The server or client could crash when the connection hasn't been fully initialized and the system tries to cleanup the ciphers when closing the connection. The biggest threat from this vulnerability is system availability.

CVSS 3.1 · 5.3 Medium EPSS 3.1% KEV · Not listed
Vendors
Products
CVE-2019-14889

libssh: unsanitized location in scp could lead to unwanted command execution

A flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a server, the scp command, which includes a user-provided path, is executed on the server-side. In case the library is used in a way where users can influence the third parameter of the function, it would become possible for an attacker to inject arbitrary commands, leading to a compromise of the remote target.

CVSS 3.1 · 8.8 High EPSS 3.2% KEV · Not listed
Vendors
Products
CVE-2018-10933

libssh: Authentication Bypass due to improper message callbacks implementation

A vulnerability was found in libssh's server-side state machine before versions 0.7.6 and 0.8.4. A malicious client could create channels without first performing authentication, resulting in unauthorized access.

CVSS 3.0 · 9.1 Critical EPSS 91.8% KEV · Not listed
Vendors
Canonical Debian Libssh and 3 more
Products