p PatchFirst

PatchFirst · Latest vulnerabilities

libssh vulnerabilities

Vulnerabilities published for libssh in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 7

  1. CVE-2023-6004

    Medium · CVSS 4.8EPSS 0.45%Fix available

    Libssh: proxycommand/proxyjump features allow injection of malicious code through hostname

    A flaw was found in libssh. By utilizing the ProxyCommand or ProxyJump feature, users can exploit unchecked hostname syntax on the client. This issue may allow an attacker to inject malicious code into the command of the features mentioned through the hostname parameter.

    • Update to 0.9.3-2ubuntu2.5
    Published Updated
  2. CVE-2023-6918

    Low · CVSS 3.7EPSS 1.41%Fix available

    Libssh: missing checks for return values for digests

    A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.

    • Update to 0.9.3-2ubuntu2.5
    Published Updated
  3. CVE-2023-48795

    Medium · CVSS 5.9EPSS 93.55%Public exploitFix available

    CVE-2023-48795

    The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with E

    • Update to 0.9.3-2ubuntu2.4
    Published Updated
  4. CVE-2023-2283

    Medium · CVSS 6.5EPSS 1.06%Fix available

    CVE-2023-2283

    A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.

    • Update to 0.9.3-2ubuntu2.3
    Published Updated
  5. CVE-2021-3634

    Medium · CVSS 6.5EPSS 4.68%Fix available

    CVE-2021-3634

    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

    • Update to 0.9.3-2ubuntu2.2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →