{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-10007 exists.","fix":"Apply the vendor's patch.","what":"CVE-2011-10007 is a high-severity command injection vulnerability in RCLAMP File::Find::Rule, published on 5 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2011-10007 and fix it if it is affected.\n\nWhat it is: CVE-2011-10007 is a high-severity command injection vulnerability in RCLAMP File::Find::Rule, published on 5 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-10007 exists.\n\nAffected product: RCLAMP File::Find::Rule. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2011-10007/ (Markdown: https://insights.sbomify.com/CVE-2011-10007/index.md)","id":"CVE-2011-10007","markdown":"https://insights.sbomify.com/CVE-2011-10007/index.md","name":"CVE-2011-10007","record":{"aliases":["ALSA-2025:9517","ALSA-2025:9605","AZL-62239","AZL-62273","DEBIAN-CVE-2011-10007","DLA-4209-1","DSA-5936-1","GHSA-cvg9-q978-4569","MGASA-2025-0278","OESA-2025-1646","OESA-2025-1678","OESA-2025-1679","OESA-2025-1680","OESA-2025-1681","OESA-2025-2608","RHSA-2025:9517","RHSA-2025:9605","RHSA-2025:9658","RHSA-2025:9740","RHSA-2025:9741","RLSA-2025:9517","RLSA-2025:9605","SUSE-SU-2025:02105-1","UBUNTU-CVE-2011-10007","USN-7620-1","openSUSE-SU-2025:15260-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl File::Find::Rule","requires_auth":"none","summary":"Attackers can execute arbitrary commands via crafted filenames when using the grep method in the Perl File::Find::Rule library.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CPANSec","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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)","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_els:7","Red Hat:rhel_eus:9.4::crb","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in File::Find::Rule","id":"CVE-2011-10007","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2011"},"n_packages":27,"n_references":4,"next":{"headline":"MPlayer Lite r33064 M3U Stack-Based Buffer Overflow","id":"CVE-2011-10008"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.34-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/almalinux/perl-File-Find-Rule","source":"ALSA-2025:9605"},{"ecosystem":"AlmaLinux:9","fixed":["0.34-19.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/almalinux/perl-File-Find-Rule","source":"ALSA-2025:9517"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.34-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/redhat/perl-File-Find-Rule","source":"RHSA-2025:9605"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:0.34-19.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/redhat/perl-File-Find-Rule","source":"RHSA-2025:9517"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:0.33-5.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/redhat/perl-File-Find-Rule","source":"RHSA-2025:9741"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.13-2.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule-Perl","purl":"pkg:rpm/redhat/perl-File-Find-Rule-Perl","source":"RHSA-2025:9740"},{"ecosystem":"Red Hat:rhel_eus:9.4::crb","fixed":["0:0.34-19.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/redhat/perl-File-Find-Rule","source":"RHSA-2025:9658"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.34-9.el8_10"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/rocky-linux/perl-File-Find-Rule?distro=rocky-linux-8-x86-64\u0026epoch=0","source":"RLSA-2025:9605"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.34-19.1.el9_6"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/rocky-linux/perl-File-Find-Rule?distro=rocky-linux-9-6-aarch64\u0026epoch=0","source":"RLSA-2025:9517"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/suse/perl-File-Find-Rule\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.34-150000.3.3.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/opensuse/perl-File-Find-Rule\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02105-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.350.0-1.1"],"introduced":["0"],"last_affected":[],"package":"perl-File-Find-Rule","purl":"pkg:rpm/opensuse/perl-File-Find-Rule\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15260-1"}],"prev":{"headline":"GamerZ WP-PostRatings wp-postratings.php cross site scripting","id":"CVE-2011-10006"},"products":["File::Find::Rule"],"published":"2025-06-05","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-11","vendors":["RCLAMP"]},"summary":"Attackers can execute arbitrary commands via crafted filenames when using the grep method in the Perl File::Find::Rule library.","url":"https://insights.sbomify.com/CVE-2011-10007/"}