Skip to content
Fencer Vulns
medium 6.9

CVE-2008-5303 json

Race condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8 allows local users to to delete arbitrary files v…

published 2008-12-01 17 y ago modified 2026-06-16 4 mo ago also EUVD-2008-5280

cvss
6.9
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

Summary

Race condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8 allows local users to to delete arbitrary files 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-5302 due to affected versions.

Patch / fix

  • perl Debian 14, Debian 13, Debian 12 5.10.0-18

debian advisories DEBIAN-CVE-2008-5303

  • perl RHEL 5 4:5.8.8-32.el5_5.1
  • perl-suidperl RHEL 5 4:5.8.8-32.el5_5.1

red hat advisories RHSA-2010:0458

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2008-5303 updated cvss 4.4

perl: File:: Path rmtree race condition (CVE-2004-0452) reintroduced after upstream rebase to 5.8.8-1

  • Red Hat Enterprise Linux (v. 5 server) perl 5.8.8-32.el5_5.1, perl-suidperl 5.8.8-32.el5_5.1 Red Hat Enterprise Linux Desktop (v. 5 client) perl 5.8.8-32.el5_5.1, perl-suidperl 5.8.8-32.el5_5.1
    fixed: vendor fix RHSA-2010:0458

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugs.debian.org http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286905 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.