{"id":"DEBIAN-CVE-2011-10007","details":"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 \u003e \"/tmp/poc/|id\" $ perl -MFile::Find::Rule \\     -E 'File::Find::Rule-\u003egrep(\"foo\")-\u003ein(\"/tmp/poc\")' uid=1000(user) gid=1000(user) groups=1000(user),100(users)","modified":"2026-09-14T07:00:11.687242442Z","published":"2025-06-05T12:15:22.807Z","upstream":["CVE-2011-10007"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2011-10007"}],"affected":[{"package":{"name":"libfile-find-rule-perl","ecosystem":"Debian:12","purl":"pkg:deb/debian/libfile-find-rule-perl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34-4~deb12u1"}]}],"versions":["0.34-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-10007.json"}},{"package":{"name":"libfile-find-rule-perl","ecosystem":"Debian:13","purl":"pkg:deb/debian/libfile-find-rule-perl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34-4"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-10007.json"}},{"package":{"name":"libfile-find-rule-perl","ecosystem":"Debian:14","purl":"pkg:deb/debian/libfile-find-rule-perl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.34-4"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-10007.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}