Live threats

All CVEs / Perl

CVE-2008-5302Perl File::path

Medium 6.9

Priority
41
CVSS 2.0
6.9
EPSS
0.3%
probability of exploitation in 30 days · percentile 19
Auth required
Yes
Published
Dec 1, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
Vector
AV:L/AC:M/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for File::path.

Affected products (CPE)

VendorProductVersions
perlfile::path1.08
perlfile::path2.07

Official sources

References

Links published by the sources. Open them with care.