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

Published Jun 5, 2025
·
Updated

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)

Affected Software

1 affected component
Perl File::Find::Rule<=0.34

Remediation

Information

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

Event History

Jun 5, 2025
CVE Published
via MITRE·11:57 AM
Data Sourced
via MITRE·11:57 AM
RemedyDescriptionWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·01:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2011-10007?

CVE-2011-10007 is classified as a high severity vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2011-10007?

To fix CVE-2011-10007, update to File::Find::Rule version 0.35 or later.

3

What causes CVE-2011-10007?

CVE-2011-10007 is caused by a vulnerability in the way File::Find::Rule handles crafted filenames in Perl.

4

Who is affected by CVE-2011-10007?

Users of File::Find::Rule up to version 0.34 in Perl are affected by CVE-2011-10007.

5

Is CVE-2011-10007 exploitable remotely?

CVE-2011-10007 is potentially exploitable remotely if an attacker can control the filenames being processed by the application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203