Advisory

DEBIAN-CVE-2011-10007

Also known as: CVE-2011-10007

Summary

The record has no summary.

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 > "/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)

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2025-06-05 12:15 UTC
Modified
2026-10-23 18:02 UTC

Affected packages and fixes

libfile-find-rule-perl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.34-4~deb12u1 (ecosystem)

Fixed versions

0.34-4~deb12u1

Fix

  • Fixed version 0.34-4~deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libfile-find-rule-perl

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.34-4 (ecosystem)

Fixed versions

0.34-4

Fix

  • Fixed version 0.34-4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libfile-find-rule-perl

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.34-4 (ecosystem)

Fixed versions

0.34-4

Fix

  • Fixed version 0.34-4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences