Skip to content
Fencer Intel
high 8.8

CVE-2011-10007 json

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

published 2025-06-05 17 mo ago modified 2026-06-16 4 mo ago also EUVD-2011-5236

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 58%
public exploits
0
none known

Summary

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)

Patch / fix

  • libfile-find-rule-perl Debian 12 0.34-4~deb12u1
  • libfile-find-rule-perl Debian 14, Debian 13 0.34-4

debian advisories DEBIAN-CVE-2011-10007

  • libfile-find-rule-perl Ubuntu 22.04 LTS 0.34-1ubuntu0.22.04.1
  • libfile-find-rule-perl Ubuntu 24.04 LTS 0.34-3ubuntu0.24.04.1

ubuntu advisories UBUNTU-CVE-2011-10007

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • perl-File-Find-Rule RHEL 8 0.34-9.el8_10
  • perl-File-Find-Rule RHEL 9 0.34-19.1.el9_6
  • perl-File-Find-Rule-Perl RHEL 7 ELS 1.13-2.el7_9.1
  • perl-File-Find-Rule RHEL 7 ELS 0.33-5.el7_9.1
  • perl-File-Find-Rule RHEL 9.4 EUS 0.34-19.el9_4.1

red hat advisories RHSA-2025:9740RHSA-2025:9741RHSA-2025:9658RHSA-2025:9605RHSA-2025:9517

  • perl-File-Find-Rule SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +14 more 0.34-150000.3.3.1

suse advisories SUSE-SU-2025:02105-1

  • perl-File-Find-Rule openSUSE Tumbleweed 0.350.0-1.1

opensuse advisories openSUSE-SU-2025:15260-1

  • perl-File-Find-Rule AlmaLinux 8 0.34-9.el8_10
  • perl-File-Find-Rule AlmaLinux 9 0.34-19.1.el9_6

almalinux advisories ALSA-2025:9605ALSA-2025:9517

  • perl-File-Find-Rule Rocky Linux 9 0.34-19.1.el9_6
  • perl-File-Find-Rule Rocky Linux 8 0.34-9.el8_10

rocky linux advisories RLSA-2025:9517RLSA-2025:9605

  • perl-file-find-rule Alpine 3.24, Alpine 3.23, Alpine 3.22 0.35-r0

alpine advisories ALPINE-CVE-2011-10007

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-10007 updated cvss 7.3

perl-file-find-rule: File::Find::Rule Arbitrary Code Execution

  • Red Hat Enterprise Linux 6 perl-File-Find-Rule, perl-File-Find-Rule-Perl
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder EUS (v.9.4) perl-File-Find-Rule 0.34-19.el9_4.1
    fixed: vendor fix RHSA-2025:9658
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) perl-File-Find-Rule 0.34-19.1.el9_6
    fixed: vendor fix RHSA-2025:9517
  • Red Hat Enterprise Linux CRB (v. 8) perl-File-Find-Rule 0.34-9.el8_10
    fixed: vendor fix RHSA-2025:9605
  • Red Hat Enterprise Linux Server Optional (v. 7 ELS) perl-File-Find-Rule 0.33-5.el7_9.1, perl-File-Find-Rule-Perl 1.13-2.el7_9.1
    fixed: vendor fix RHSA-2025:9741

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
17 mo ago

Exploit prediction

0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/richardc/perl-file-find-rule/pull/4 referenced PoC, tagged "exploit" by a source, unverified
  • rt.cpan.org https://rt.cpan.org/Public/Bug/Display.html?id=64504 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • RCLAMP File::Find::Rule

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.