cve.bz

CVE-2011-10007 rclamp file find rule: OS Command Injection

8.8 highEPSS 0.9%

High (8.8) in rclamp file find rule. EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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)

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-06-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2011-10007 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2011-10007?via=ask-ai-copy and https://cve.bz/cve/CVE-2011-10007?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2011-10007 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
RCLAMP File::Find::Rulethrough 0.34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libfile-find-rule-perl0.34-1+deb11u1DLA-4209-1
Debian12libfile-find-rule-perl0.34-4~deb12u1DEBIAN-CVE-2011-10007 DSA-5936-1
Debian13, 14libfile-find-rule-perl0.34-4DEBIAN-CVE-2011-10007
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSlibfile-find-rule-perlno fix listedUBUNTU-CVE-2011-10007
Ubuntu22.04:LTSlibfile-find-rule-perl0.34-1ubuntu0.22.04.1UBUNTU-CVE-2011-10007 USN-7620-1
Ubuntu24.04:LTSlibfile-find-rule-perl0.34-3ubuntu0.24.04.1UBUNTU-CVE-2011-10007 USN-7620-1
Red Hatenterprise_linux:8::crbperl-File-Find-Rule0:0.34-9.el8_10RHSA-2025:9605
Red Hatenterprise_linux:9::crbperl-File-Find-Rule0:0.34-19.1.el9_6RHSA-2025:9517
Red Hatrhel_els:7perl-File-Find-Rule0:0.33-5.el7_9.1RHSA-2025:9741
Red Hatrhel_els:7perl-File-Find-Rule-Perl0:1.13-2.el7_9.1RHSA-2025:9740
Red Hatrhel_eus:9.4::crbperl-File-Find-Rule0:0.34-19.el9_4.1RHSA-2025:9658
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moreperl-File-Find-Rule0.34-150000.3.3.1SUSE-SU-2025:02105-1
openSUSELeap 15.6perl-File-Find-Rule0.34-150000.3.3.1SUSE-SU-2025:02105-1
openSUSETumbleweedperl-File-Find-Rule0.350.0-1.1openSUSE-SU-2025:15260-1
AlmaLinux8perl-File-Find-Rule0.34-9.el8_10ALSA-2025:9605
AlmaLinux9perl-File-Find-Rule0.34-19.1.el9_6ALSA-2025:9517
Rocky Linux8perl-File-Find-Rule0:0.34-9.el8_10RLSA-2025:9605
Rocky Linux9perl-File-Find-Rule0:0.34-19.1.el9_6RLSA-2025:9517
Alpinev3.22, v3.23, v3.24perl-file-find-rule0.35-r0ALPINE-CVE-2011-10007
Azure Linux2perl-File-Find-Ruleno fix listedAZL-62273
Azure Linux3perl-File-Find-Ruleno fix listedAZL-62239

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability marked as Important rather than Moderate because it enables arbitrary code execution (ACE) through a common and trusted interface—filename handling. Specifically, the use of Perl’s two-argument open() within the grep() method allows attacker-controlled filenames to be interpreted as shell commands when prefixed with special characters like |. Since File::Find::Rule is often used in automation scripts, system utilities, and recursive file operations, this flaw transforms a seemingly benign filename input into an execution vector, violating a core security boundary between data and code. The vulnerability does not require elevated privileges or complex exploitation chains; a single crafted filename is enough to trigger shell execution, making the flaw exploitable in real-world scenarios such as CI/CD pipelines or file indexing systems.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportperl-File-Find-Rule-Perl-0:1.13-2.el7_9.1Fixed 2025-06-26RHSA-2025:9740
Red Hat Enterprise Linux 7 Extended Lifecycle Supportperl-File-Find-Rule-0:0.33-5.el7_9.1Fixed 2025-06-26RHSA-2025:9741
Red Hat Enterprise Linux 8perl-File-Find-Rule-0:0.34-9.el8_10Fixed 2025-06-25RHSA-2025:9605
Red Hat Enterprise Linux 9perl-File-Find-Rule-0:0.34-19.1.el9_6Fixed 2025-06-24RHSA-2025:9517
Red Hat Enterprise Linux 9.4 Extended Update Supportperl-File-Find-Rule-0:0.34-19.el9_4.1Fixed 2025-06-25RHSA-2025:9658
Red Hat Enterprise Linux 6perl-File-Find-RuleOut of support scope
Red Hat Enterprise Linux 6perl-File-Find-Rule-PerlOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2011-10007.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON