Advisory

UBUNTU-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-02-04 04:07 UTC

Affected packages and fixes

libfile-find-rule-perl

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libfile-find-rule-perl

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libfile-find-rule-perl

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libfile-find-rule-perl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 0.34-1ubuntu0.22.04.1 (ecosystem)

Fixed versions

0.34-1ubuntu0.22.04.1

Fix

  • Fixed version 0.34-1ubuntu0.22.04.1
    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) · Ubuntu 24.04

Affected

  • introduced 0, fixed 0.34-3ubuntu0.24.04.1 (ecosystem)

Fixed versions

0.34-3ubuntu0.24.04.1

Fix

  • Fixed version 0.34-3ubuntu0.24.04.1
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences