摘要:
perl-File-Find-Rule security update
安全等级: High
公告ID: KylinSec-SA-2025-2740
发布日期: 2025年8月9日
关联CVE: CVE-2011-10007
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)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2011-10007 | KY3.5.3 | perl-File-Find-Rule | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
perl-File-Find-Rule | noarch | 0.34-3.ky3_5 |
perl-File-Find-Rule-help | noarch | 0.34-3.ky3_5 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名