CVE-2011-10007
Publication date 5 June 2025
Last updated 7 July 2025
Ubuntu priority
Cvss 3 Severity Score
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)
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libfile-find-rule-perl | 25.10 questing |
Not affected
|
| 25.04 plucky |
Fixed 0.34-3ubuntu0.25.04.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
| Package | Patch details |
|---|---|
| libfile-find-rule-perl |
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| 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