Skip to content
OpenAdvisories
Unscored CVE-2008-5302 EUVD-2008-5279GHSA-8vc4-5x78-9hxf

Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8.8 and 5.10.0 allows local users to create …

Published Dec 1, 2008 · Updated Aug 7, 2024 · Assigned by mitre

Description

Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8.8 and 5.10.0 allows local users to create arbitrary setuid binaries via a symlink attack, a different vulnerability than CVE-2005-0448, CVE-2004-0452, and CVE-2008-2827. NOTE: this is a regression error related to CVE-2005-0448. It is different from CVE-2008-5303 due to affected versions.

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.10.0-18 —
Debian 13 perl 5.10.0-18 —
Debian 12 perl 5.10.0-18 —
Debian 4.0 perl 5.8.8-7etch5 DSA-1678-1
ReleasePackageFixed inAdvisory
RHEL 5 perl +1 4:5.8.8-32.el5_5.1 RHSA-2010:0458

Advisories 2

References