INFSA-2024:2504: libssh security update

Information about definition

Identificator: INFSA-2024:2504

Type: security

Release date: 2024-12-27 09:47:34 UTC

Information about package

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Vulnerabilities description

  • CVE-2023-6004

    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.

  • CVE-2023-6918

    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.

Severity level

CVE Score CVSS 2.0 Score CVSS 3.x Score CVSS 4.0
NIST — CVE-2023-6004
no information 4.8 no information
NIST — CVE-2023-6918
no information 3.7 no information
Critical, important, moderate, low

Updated packages