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

摘要:

cmake security update

安全等级: Low

公告ID: KylinSec-SA-2025-2898

发布日期: 2025年9月18日

关联CVE: CVE-2025-9301  

  • 详细介绍

1. 漏洞描述

   

CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, preprocessor generation, code generation, and template instantiation.

Security Fix(es):

A vulnerability was identified in cmake version 4.1.20250725-gb5cce23, affecting the cmForEachFunctionBlocker::ReplayItems function in the cmForEachCommand.cxx file. This vulnerability can lead to a reachable assertion error and requires local access to exploit. The exploit details have been publicly disclosed and may be utilized. It is recommended to apply patch 37e27f71bc356d880c908040cd0cb68fa2c371b8 to mitigate this issue.(CVE-2025-9301)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2025-9301 V6 cmake Fixed

3. 影响组件

    cmake

4. 修复版本

   

V6

软件名称 架构 版本号
cmake-data noarch 3.27.9-7.ks6
cmake-help noarch 3.27.9-7.ks6
cmake-rpm-macros noarch 3.27.9-7.ks6
cmake x86_64 3.27.9-7.ks6
cmake-filesystem x86_64 3.27.9-7.ks6
cmake-gui x86_64 3.27.9-7.ks6
cmake aarch64 3.27.9-7.ks6
cmake-filesystem aarch64 3.27.9-7.ks6
cmake-gui aarch64 3.27.9-7.ks6

5. 修复方法


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

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

6. 下载链接

   

V6:

x86_64:

     cmake-data   

     cmake-help   

     cmake-rpm-macros   

     cmake   

     cmake-filesystem   

     cmake-gui   

aarch64:

     cmake-data   

     cmake-help   

     cmake-rpm-macros   

     cmake   

     cmake-filesystem   

     cmake-gui   

上一篇:KylinSec-SA-2025-2897 下一篇:KylinSec-SA-2025-2802