libfile-find-rule-perl — security advisory
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)
- Products
- libfile-find-rule-perl
- Affected versions
- 0.34-3
- Fixed versions
- 0.34-4, 0.34-4~deb12u1
- CVEs
- CVE-2011-10007
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:00 UTC · Revision 1
Source evidence
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)
osv:DEBIAN-CVE-2011-10007
libfile-find-rule-perl
Fixed versions: 0.34-4~deb12u1
libfile-find-rule-perl
Fixed versions: 0.34-4
libfile-find-rule-perl
Fixed versions: 0.34-4
Complete source record
{
"id": "9c13f1f4d193fe777938b8863b518082a3888c0335732aa614753a88dd93ebf4",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2011-10007",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2011-10007",
"summary": "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)",
"evidence": "osv:DEBIAN-CVE-2011-10007",
"products": [
{
"name": {
"value": "libfile-find-rule-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.34-4~deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "0.34-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libfile-find-rule-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.34-4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libfile-find-rule-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.34-4",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2011-10007",
"aliases": [
"DEBIAN-CVE-2011-10007"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.34-4~deb12u1"
}
]
}
],
"package": {
"name": "libfile-find-rule-perl",
"purl": "pkg:deb/debian/libfile-find-rule-perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.34-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-10007.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.34-4"
}
]
}
],
"package": {
"name": "libfile-find-rule-perl",
"purl": "pkg:deb/debian/libfile-find-rule-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-10007.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.34-4"
}
]
}
],
"package": {
"name": "libfile-find-rule-perl",
"purl": "pkg:deb/debian/libfile-find-rule-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-10007.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:02:45.175495588Z",
"provider": "osv",
"upstream": [
"CVE-2011-10007"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2011-10007"
]
},
"related_cves": [
{
"value": "CVE-2011-10007",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 419663,
"published_at": "2025-06-05T12:15:22.807+00:00"
}