• 公告ID (KylinSec-SA-2025-2702)

摘要:

libssh security update

安全等级: Medium

公告ID: KylinSec-SA-2025-2702

发布日期: 2025年7月12日

关联CVE: CVE-2025-5318  

  • 详细介绍

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 the libssh library. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.(CVE-2025-5318)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2025-5318 KY3.4-5A libssh Fixed

3. 影响组件

    libssh

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
libssh-help noarch 0.9.4-11.kb1.ky3_4
libssh x86_64 0.9.4-11.kb1.ky3_4
libssh-devel x86_64 0.9.4-11.kb1.ky3_4
libssh aarch64 0.9.4-11.kb1.ky3_4
libssh-devel aarch64 0.9.4-11.kb1.ky3_4

5. 修复方法


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

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

6. 下载链接

   

KY3.4-5A:

x86_64:

     libssh-help   

     libssh   

     libssh-devel   

aarch64:

     libssh-help   

     libssh   

     libssh-devel   

上一篇:KylinSec-SA-2025-2630 下一篇:KylinSec-SA-2025-2703