Debian Libssh vulnerabilities

37 known vulnerabilities affecting debian/libssh.

Total CVEs
37
CISA KEV
0
Public exploits
2
Exploited in wild
0
Severity breakdown
CRITICAL2HIGH6MEDIUM20LOW9

Vulnerabilities

Page 2 of 2
CVE-2023-6918LOWCVSS 3.7fixed in libssh 0.10.6-0+deb12u1 (bookworm)2023
CVE-2023-6918 [LOW] CVE-2023-6918: libssh - A flaw was found in the libssh implements abstract layer for message digest (MD)... 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
debian
CVE-2023-3603LOWCVSS 3.12023
CVE-2023-3603 [LOW] CVE-2023-3603: libssh - A missing allocation check in sftp server processing read requests may cause a N... A missing allocation check in sftp server processing read requests may cause a NULL dereference on low-memory conditions. The malicious client can request up to 4GB SFTP reads, causing allocation of up to 4GB buffers, which was not being checked for failure. This will likely crash the authenticated user's sftp server connection (if implemented as forking as recommended)
debian
CVE-2021-3634MEDIUMCVSS 6.5fixed in libssh 0.9.6-1 (bookworm)2021
CVE-2021-3634 [MEDIUM] CVE-2021-3634: libssh - A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol kee... 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
debian
CVE-2020-16135MEDIUMCVSS 5.9fixed in libssh 0.9.5-1 (bookworm)2020
CVE-2020-16135 [MEDIUM] CVE-2020-16135: libssh - libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new re... libssh 0.9.4 has a NULL pointer dereference in tftpserver.c if ssh_buffer_new returns NULL. Scope: local bookworm: resolved (fixed in 0.9.5-1) bullseye: resolved (fixed in 0.9.5-1) forky: resolved (fixed in 0.9.5-1) sid: resolved (fixed in 0.9.5-1) trixie: resolved (fixed in 0.9.5-1)
debian
CVE-2020-1730MEDIUMCVSS 5.3fixed in libssh 0.9.4-1 (bookworm)2020
CVE-2020-1730 [MEDIUM] CVE-2020-1730: libssh - A flaw was found in libssh versions before 0.8.9 and before 0.9.4 in the way it ... 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. Scope: local
debian
CVE-2019-14889HIGHCVSS 8.8fixed in libssh 0.9.3-1 (bookworm)2019
CVE-2019-14889 [HIGH] CVE-2019-14889: libssh - A flaw was found with the libssh API function ssh_scp_new() in versions before 0... 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
debian
CVE-2018-10933CRITICALCVSS 9.1PoCfixed in libssh 0.8.4-1 (bookworm)2018
CVE-2018-10933 [CRITICAL] CVE-2018-10933: libssh - A vulnerability was found in libssh's server-side state machine before versions ... 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. Scope: local bookworm: resolved (fixed in 0.8.4-1) bullseye: resolved (fixed in 0.8.4-1) forky: resolved (fixed in 0.8.4-1) sid: resolved (fixed in 0.8.
debian
CVE-2016-0739MEDIUMCVSS 5.9fixed in libssh 0.6.3-4.3 (bookworm)2016
CVE-2016-0739 [MEDIUM] CVE-2016-0739: libssh - libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1)... libssh before 0.7.3 improperly truncates ephemeral secrets generated for the (1) diffie-hellman-group1 and (2) diffie-hellman-group14 key exchange methods to 128 bits, which makes it easier for man-in-the-middle attackers to decrypt or intercept SSH sessions via unspecified vectors, aka a "bits/bytes confusion bug." Scope: local bookworm: resolved (fixed in 0.6.3-4.3
debian
CVE-2015-3146HIGHCVSS 7.5fixed in libssh 0.6.3-4.2 (bookworm)2015
CVE-2015-3146 [HIGH] CVE-2015-3146: libssh - The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_c... The (1) SSH_MSG_NEWKEYS and (2) SSH_MSG_KEXDH_REPLY packet handlers in package_cb.c in libssh before 0.6.5 do not properly validate state, which allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted SSH packet. Scope: local bookworm: resolved (fixed in 0.6.3-4.2) bullseye: resolved (fixed in 0.6.3-4.2) forky: resolved (
debian
CVE-2014-8132MEDIUMCVSS 5.0fixed in libssh 0.6.3-4 (bookworm)2014
CVE-2014-8132 [MEDIUM] CVE-2014-8132: libssh - Double free vulnerability in the ssh_packet_kexinit function in kex.c in libssh ... Double free vulnerability in the ssh_packet_kexinit function in kex.c in libssh 0.5.x and 0.6.x before 0.6.4 allows remote attackers to cause a denial of service via a crafted kexinit packet. Scope: local bookworm: resolved (fixed in 0.6.3-4) bullseye: resolved (fixed in 0.6.3-4) forky: resolved (fixed in 0.6.3-4) sid: resolved (fixed in 0.6.3-4) trixie: resolved (fi
debian
CVE-2014-0017LOWCVSS 1.9fixed in libssh 0.5.4-3 (bookworm)2014
CVE-2014-0017 [LOW] CVE-2014-0017: libssh - The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does no... The RAND_bytes function in libssh before 0.6.3, when forking is enabled, does not properly reset the state of the OpenSSL pseudo-random number generator (PRNG), which causes the state to be shared between children processes and allows local users to obtain sensitive information by leveraging a pid collision. Scope: local bookworm: resolved (fixed in 0.5.4-3) bullseye: r
debian
CVE-2013-0176LOWCVSS 4.3fixed in libssh 0.5.4-1 (bookworm)2013
CVE-2013-0176 [MEDIUM] CVE-2013-0176: libssh - The publickey_from_privatekey function in libssh before 0.5.4, when no algorithm... The publickey_from_privatekey function in libssh before 0.5.4, when no algorithm is matched during negotiations, allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a "Client: Diffie-Hellman Key Exchange Init" packet. Scope: local bookworm: resolved (fixed in 0.5.4-1) bullseye: resolved (fixed in 0.5.4-1) forky: resolved (fix
debian
CVE-2012-4560HIGHCVSS 7.5fixed in libssh 0.5.3-1 (bookworm)2012
CVE-2012-4560 [HIGH] CVE-2012-4560: libssh - Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause... Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via unspecified vectors. Scope: local bookworm: resolved (fixed in 0.5.3-1) bullseye: resolved (fixed in 0.5.3-1) forky: resolved (fixed in 0.5.3-1) sid: resolved (fixed in 0.5.3-1) trixie: resolved (fixed in 0.5.3-1)
debian
CVE-2012-4562HIGHCVSS 7.5fixed in libssh 0.5.3-1 (bookworm)2012
CVE-2012-4562 [HIGH] CVE-2012-4562: libssh - Multiple integer overflows in libssh before 0.5.3 allow remote attackers to caus... Multiple integer overflows in libssh before 0.5.3 allow remote attackers to cause a denial of service (infinite loop or crash) and possibly execute arbitrary code via unspecified vectors, which triggers a buffer overflow, infinite loop, or possibly some other unspecified vulnerabilities. Scope: local bookworm: resolved (fixed in 0.5.3-1) bullseye: resolved (fixed in 0.
debian
CVE-2012-6063MEDIUMCVSS 6.8fixed in libssh 0.5.3-1 (bookworm)2012
CVE-2012-6063 [MEDIUM] CVE-2012-6063: libssh - Double free vulnerability in the sftp_mkdir function in sftp.c in libssh before ... Double free vulnerability in the sftp_mkdir function in sftp.c in libssh before 0.5.3 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via unspecified vectors, a different vector than CVE-2012-4559. Scope: local bookworm: resolved (fixed in 0.5.3-1) bullseye: resolved (fixed in 0.5.3-1) forky: resolved (fixed in 0.5.3-1
debian
CVE-2012-4559MEDIUMCVSS 6.8fixed in libssh 0.5.3-1 (bookworm)2012
CVE-2012-4559 [MEDIUM] CVE-2012-4559: libssh - Multiple double free vulnerabilities in the (1) agent_sign_data function in agen... Multiple double free vulnerabilities in the (1) agent_sign_data function in agent.c, (2) channel_request function in channels.c, (3) ssh_userauth_pubkey function in auth.c, (4) sftp_parse_attr_3 function in sftp.c, and (5) try_publickey_from_file function in keyfiles.c in libssh before 0.5.3 allow remote attackers to cause a denial of service (crash) and possibly exe
debian
CVE-2012-4561MEDIUMCVSS 5.0fixed in libssh 0.5.3-1 (bookworm)2012
CVE-2012-4561 [MEDIUM] CVE-2012-4561: libssh - The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (... The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free "an invalid pointer on an error path," which might allow remote attackers to cause a denial of service (crash) via unspecified vectors. Scope: local bookworm: resolved (fixed in 0.5.3-1) bullseye:
debian