CVE-2008-5302 json
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 2008-12-01 17 y ago modified 2026-06-16 4 mo ago also EUVD-2008-5279
- 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 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.
Patch / fix
- perl Debian 14, Debian 13, Debian 12 5.10.0-18
debian advisories DEBIAN-CVE-2008-5302
- 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-5302 updated cvss 4.4
perl: File:: Path rmtree race condition (CVE-2005-0448) 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.1fixed: 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
- bugs.debian.org http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286922#36 referenced PoC, tagged "exploit" by a source, unverified
- gossamer-threads.com http://www.gossamer-threads.com/lists/perl/porters/233695#233695 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
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=286905
exploit
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=286922#36
exploit
-
gossamer-threads.com
/lists/perl/porters/233695#233695
exploit
-
debian.org
/security/2008/dsa-1678
vendor-advisory
-
ubuntu.com
/usn/usn-700-1
vendor-advisory
-
lists.apple.com
/archives/security-announce/2010//Mar/msg00001.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2009-02/msg00002.html
vendor-advisory
-
ubuntu.com
/usn/usn-700-2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2010-0458.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2010:116
vendor-advisory
-
secunia.com
/advisories/32980
third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/47043
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6890
vdb-entry, signature
- wiki.rpath.com /Advisories:rPSA-2009-0011
-
openwall.com
/lists/oss-security/2008/11/28/2
mailing-list
- support.apple.com /kb/HT4077
-
secunia.com
/advisories/33314
third-party-advisory
-
securityfocus.com
/archive/1/500210/100/0/threaded
mailing-list
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11076
vdb-entry, signature
- kb.juniper.net /InfoCenter/index?page=content&id=JSA10705
-
secunia.com
/advisories/40052
third-party-advisory
- kb.juniper.net /InfoCenter/index?page=content&id=JSA10735
Sources
- CVE List CVE-2008-5302
- NVD CVE-2008-5302
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.