CVE-2011-10007

Publication date 5 June 2025

Last updated 7 July 2025


Ubuntu priority

Cvss 3 Severity Score

8.8 · High

Score breakdown

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)

Status

Package Ubuntu Release Status
libfile-find-rule-perl 25.04 plucky
Fixed 0.34-3ubuntu0.25.04.1
24.10 oracular
Fixed 0.34-3ubuntu0.24.10.1
24.04 LTS noble
Fixed 0.34-3ubuntu0.24.04.1
22.04 LTS jammy
Fixed 0.34-1ubuntu0.22.04.1
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libfile-find-rule-perl

Severity score breakdown

Parameter Value
Base score 8.8 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7620-1
    • File::Find::Rule vulnerability
    • 7 July 2025

Other references