CVE-2011-10007

High

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)

SeverityHigh
CVSS8.8
Exploit probability—
ProductFile::Find::Rule
PublishedJun 5, 2025
First seenJun 5, 2025

How to fix

Affected products

ProductAffected versionsFixed in
RCLAMP File::Find::Rulev ≤ 0.34—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2011-10007 · File::Find::Rule · Dark Radar