CVE-2011-10007
published high CVSS 3.1 · 8.8File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted file name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RCLAMP | — | File-Find-RuleFile::Find::Rule · 0 through 0.34 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2891 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2908 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1047 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1048 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | perl-File-Find-Rule | Advisory build | 0.34-9.el8_10 | ALSA-2025:9605 |
| Alpine Linux | edge | perl-file-find-rule | Fixed | 0.35-r0 | Package fix record |
| Debian | bookworm | libfile-find-rule-perl | Advisory build | 0.34-4~deb12u1 | DSA-5936-1 |
Show 43 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | perl-File-Find-Rulex86_64 | Advisory build | 0:0.33-5.0.1.el7 | ELSA-2025-9741 |
| Red Hat Enterprise Linux | RHEL-7 | perl-File-Find-Rulenoarch | Advisory build | 0.33-5.el7_9.1 | RHSA-2025:9741 |
| SUSE / openSUSE | SLE-15-SP3 | perl-File-Find-Rulenoarch | Advisory build | 0.34-150000.3.3.1 | SUSE-SU-2025:02105-1 |
| Ubuntu | jammy | libfile-find-rule-perl | Advisory build | 0.34-1ubuntu0.22.04.1 | USN-7620-1 |
| Amazon Linux | AL2 | perl-File-Find-Rulenoarch | Listed in advisory | Not stated | ALAS2-2025-2891 |
| Rocky Linux | 8 | perl-File-Find-Rulenoarch | Listed in advisory | Not stated | RLSA-2025:9605 |
| AlmaLinux | 9 | perl-File-Find-Rule | Advisory build | 0.34-19.1.el9_6 | ALSA-2025:9517 |
| Alpine Linux | v3.22 | perl-file-find-rule | Fixed | 0.35-r0 | Package fix record |
| Alpine Linux | v3.23 | perl-file-find-rule | Fixed | 0.35-r0 | Package fix record |
| Alpine Linux | v3.24 | perl-file-find-rule | Fixed | 0.35-r0 | Package fix record |
| Debian | bullseye | libfile-find-rule-perl | Advisory build | 0.34-1+deb11u1 | DLA-4209-1 |
| Oracle Linux | 7 | perl-File-Find-Rule-Perlx86_64 | Advisory build | 0:1.13-2.0.1.el7 | ELSA-2025-9740 |
| Oracle Linux | 8 | perl-File-Find-Ruleaarch64 | Advisory build | 0:0.34-9.el8_10 | ELSA-2025-9605 |
| Oracle Linux | 8 | perl-File-Find-Rulex86_64 | Advisory build | 0:0.34-9.el8_10 | ELSA-2025-9605 |
| Oracle Linux | 9 | perl-File-Find-Ruleaarch64 | Advisory build | 0:0.34-19.1.el9_6 | ELSA-2025-9517 |
| Oracle Linux | 9 | perl-File-Find-Rulex86_64 | Advisory build | 0:0.34-19.1.el9_6 | ELSA-2025-9517 |
| Red Hat Enterprise Linux | RHEL-7 | perl-File-Find-Rulesrc | Advisory build | 0.33-5.el7_9.1 | RHSA-2025:9741 |
| Red Hat Enterprise Linux | RHEL-7 | perl-File-Find-Rule-Perlnoarch | Advisory build | 1.13-2.el7_9.1 | RHSA-2025:9740 |
| Red Hat Enterprise Linux | RHEL-7 | perl-File-Find-Rule-Perlsrc | Advisory build | 1.13-2.el7_9.1 | RHSA-2025:9740 |
| Red Hat Enterprise Linux | RHEL-8 | perl-File-Find-Rulenoarch | Advisory build | 0.34-9.el8_10 | RHSA-2025:9605 |
| Red Hat Enterprise Linux | RHEL-8 | perl-File-Find-Rulesrc | Advisory build | 0.34-9.el8_10 | RHSA-2025:9605 |
| Red Hat Enterprise Linux | RHEL-9 | perl-File-Find-Rulenoarch | Advisory build | 0.34-19.1.el9_6 | RHSA-2025:9517 |
| Red Hat Enterprise Linux | RHEL-9 | perl-File-Find-Rulesrc | Advisory build | 0.34-19.1.el9_6 | RHSA-2025:9517 |
| SUSE / openSUSE | SLE-15-SP4 | perl-File-Find-Rulenoarch | Advisory build | 0.34-150000.3.3.1 | SUSE-SU-2025:02105-1 |
| SUSE / openSUSE | SLE-15-SP5 | perl-File-Find-Rulenoarch | Advisory build | 0.34-150000.3.3.1 | SUSE-SU-2025:02105-1 |
| SUSE / openSUSE | SLE-15-SP6 | perl-File-Find-Rulenoarch | Advisory build | 0.34-150000.3.3.1 | SUSE-SU-2025:02105-1 |
| SUSE / openSUSE | SLE-15-SP7 | perl-File-Find-Rulenoarch | Advisory build | 0.34-150000.3.3.1 | SUSE-SU-2025:02105-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | perl-File-Find-Rulenoarch | Advisory build | 0.34-150000.3.3.1 | SUSE-SU-2025:02105-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-File-Find-Ruleaarch64 | Advisory build | 0.350.0-1.1 | OPENSUSE-SU-2025:15260-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-File-Find-Ruleppc64le | Advisory build | 0.350.0-1.1 | OPENSUSE-SU-2025:15260-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-File-Find-Rules390x | Advisory build | 0.350.0-1.1 | OPENSUSE-SU-2025:15260-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-File-Find-Rulex86_64 | Advisory build | 0.350.0-1.1 | OPENSUSE-SU-2025:15260-1 |
| Ubuntu | noble | libfile-find-rule-perl | Advisory build | 0.34-3ubuntu0.24.04.1 | USN-7620-1 |
| Amazon Linux | AL2 | perl-File-Find-Rulesrc | Listed in advisory | Not stated | ALAS2-2025-2891 |
| Amazon Linux | AL2 | perl-File-Find-Rule-Perlnoarch | Listed in advisory | Not stated | ALAS2-2025-2908 |
| Amazon Linux | AL2 | perl-File-Find-Rule-Perlsrc | Listed in advisory | Not stated | ALAS2-2025-2908 |
| Amazon Linux | AL2023 | perl-File-Find-Rulenoarch | Listed in advisory | Not stated | ALAS2023-2025-1048 |
| Amazon Linux | AL2023 | perl-File-Find-Rulesrc | Listed in advisory | Not stated | ALAS2023-2025-1048 |
| Amazon Linux | AL2023 | perl-File-Find-Rule-Perlnoarch | Listed in advisory | Not stated | ALAS2023-2025-1047 |
| Amazon Linux | AL2023 | perl-File-Find-Rule-Perlsrc | Listed in advisory | Not stated | ALAS2023-2025-1047 |
| Rocky Linux | 8 | perl-File-Find-Rulesrc | Listed in advisory | Not stated | RLSA-2025:9605 |
| Rocky Linux | 9 | perl-File-Find-Rulenoarch | Listed in advisory | Not stated | RLSA-2025:9517 |
| Rocky Linux | 9 | perl-File-Find-Rulesrc | Listed in advisory | Not stated | RLSA-2025:9517 |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RCLAMP | File::Find::Rule | 0 through 0.34 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
8- http://www.openwall.com/lists/oss-security/2025/06/05/4
- http://www.openwall.com/lists/oss-security/2025/06/06/1
- http://www.openwall.com/lists/oss-security/2025/06/06/3
- https://github.com/richardc/perl-file-find-rule/commit/df58128bcee4c1da78c34d7f3fe1357e575ad56f.patch
- https://github.com/richardc/perl-file-find-rule/pull/4
- https://lists.debian.org/debian-lts-announce/2025/06/msg00006.html
- https://metacpan.org/release/RCLAMP/File-Find-Rule-0.34/source/lib/File/Find/Rule.pm#L423
- https://rt.cpan.org/Public/Bug/Display.html?id=64504
Provider assertions
3CPANSec · cna
File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted file name
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f24bcf9ce7cfd92e14a206518afd631d4b8c7fe5e2105ee2a9e7e54ee46c51c7
- Ingested
- 23 Sep 2026, 07:38:58 UTC
- Source record
- Official CVE record