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

摘要:

perl-File-Find-Rule security update

安全等级: High

公告ID: KylinSec-SA-2025-2664

发布日期: 2025年8月9日

关联CVE: CVE-2011-10007  

  • 详细介绍

1. 漏洞描述

   

File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories.

Security Fix(es):

File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted filename.

A file handle is opened with the 2 argument form of `open()` allowing an attacker controlled filename to provide the MODE parameter to `open()`, turning the filename into a command to be executed.

Example:

$ mkdir /tmp/poc; echo > "/tmp/poc/|id"
$ perl -MFile::Find::Rule \
    -E 'File::Find::Rule->grep("foo")->in("/tmp/poc")'
uid=1000(user) gid=1000(user) groups=1000(user),100(users)(CVE-2011-10007)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2011-10007 V6 perl-File-Find-Rule Fixed

3. 影响组件

    perl-File-Find-Rule

4. 修复版本

   

V6

软件名称 架构 版本号
perl-File-Find-Rule noarch 0.34-4.ks6
perl-File-Find-Rule-help noarch 0.34-4.ks6

5. 修复方法


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

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

6. 下载链接

   

V6:

x86_64:

     perl-File-Find-Rule   

     perl-File-Find-Rule-help   

aarch64:

     perl-File-Find-Rule   

     perl-File-Find-Rule-help   

上一篇:KylinSec-SA-2025-2652 下一篇:KylinSec-SA-2025-2667