File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted file name
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| RCLAMP | File::Find::Rule | unaffected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | |||
| perl-File-Find-Rule-Perl-0:1.13-2.el7_9.1 | cpe:/o:redhat:rhel_els:7 | RHSA-2025:9740 | 2025-06-26T00:00:00Z |
| perl-File-Find-Rule-0:0.33-5.el7_9.1 | cpe:/o:redhat:rhel_els:7 | RHSA-2025:9741 | 2025-06-26T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| perl-File-Find-Rule-0:0.34-9.el8_10 | cpe:/a:redhat:enterprise_linux:8::crb | RHSA-2025:9605 | 2025-06-25T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| perl-File-Find-Rule-0:0.34-19.1.el9_6 | cpe:/a:redhat:enterprise_linux:9::crb | RHSA-2025:9517 | 2025-06-24T00:00:00Z |
| Red Hat Enterprise Linux 9.4 Extended Update Support | |||
| perl-File-Find-Rule-0:0.34-19.el9_4.1 | cpe:/a:redhat:rhel_eus:9.4::crb | RHSA-2025:9658 | 2025-06-25T00:00:00Z |
No data available yet.
Vendor Solution
Users should update to a fixed version such as 0.35 or later, or apply the patch provided in the references section, or use a patched version provided by their OS distribution
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-4209-1 | libfile-find-rule-perl security update |
Debian DSA |
DSA-5936-1 | libfile-find-rule-perl security update |
EUVD |
EUVD-2011-5236 | 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) |
Ubuntu USN |
USN-7620-1 | File::Find::Rule vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.859% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Els
|
|
| CPEs | cpe:/o:redhat:rhel_els:7 | |
| Vendors & Products |
Redhat rhel Els
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhel Eus
|
|
| CPEs | cpe:/a:redhat:rhel_eus:9.4::crb | |
| Vendors & Products |
Redhat rhel Eus
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:enterprise_linux:8::crb |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat enterprise Linux |
|
| CPEs | cpe:/a:redhat:enterprise_linux:9::crb | |
| Vendors & Products |
Redhat
Redhat enterprise Linux |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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) | |
| Title | File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted file name | |
| Weaknesses | CWE-78 | |
| References |
|