• 公告ID (KylinSec-SA-2024-1035)

摘要:

libssh security update

安全等级: Medium

公告ID: KylinSec-SA-2024-1035

发布日期: 2024年1月12日

关联CVE: CVE-2023-6004   CVE-2023-6918  

  • 详细介绍

1. 漏洞描述

   

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

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-6004)

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.(CVE-2023-6918)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-6004 KY3.5.1 libssh Fixed
CVE-2023-6918 KY3.5.1 libssh Fixed

3. 影响组件

    libssh

4. 修复版本

   

KY3.5.1

软件名称 架构 版本号
libssh-help noarch 0.9.6-8.kb1.ky3_5
libssh x86_64 0.9.6-8.kb1.ky3_5
libssh-devel x86_64 0.9.6-8.kb1.ky3_5
libssh aarch64 0.9.6-8.kb1.ky3_5
libssh-devel aarch64 0.9.6-8.kb1.ky3_5

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.5.1:

x86_64:

     libssh-help   

     libssh   

     libssh-devel   

aarch64:

     libssh-help   

     libssh   

     libssh-devel   

上一篇:KylinSec-SA-2024-1034 下一篇:KylinSec-SA-2024-1036