Skip to content
OpenAdvisories
Unscored CVE-2004-0452 EUVD-2004-0451GHSA-27g6-7ffq-cf4w

Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which all…

Published Dec 31, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

Race condition in the rmtree function in the File::Path module in Perl 5.6.1 and 5.8.4 sets read/write permissions for the world, which allows local users to delete arbitrary files and directories, and possibly read files and directories, via a symlink attack.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 perl 5.8.4-5 —
Debian 13 perl 5.8.4-5 —
Debian 12 perl 5.8.4-5 —
Debian 4.0 perl 5.8.8-7etch5 DSA-1678-1
Debian 3.0 perl 5.6.1-8.8 DSA-620-1
ReleasePackageFixed inAdvisory
RHEL 4 perl 3:5.8.5-12.1 RHSA-2005:103
RHEL 4 perl-suidperl 3:5.8.5-12.1.1 RHSA-2005:103
RHEL 3 perl +1 2:5.8.0-89.10 RHSA-2005:105
RHEL 3 perl-CGI 2:2.81-89.10 RHSA-2005:105
RHEL 3 perl-CPAN 2:1.61-89.10 RHSA-2005:105
RHEL 3 perl-DB_File 2:1.804-89.10 RHSA-2005:105

Advisories 4

References