CVE-2008-5302
Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8...
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.
Exploit likelihood
What each source reports
NVD Score used
6.9
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.
- Record
CVE-2008-5302- CVSS 2.0
- 6.9 Medium
AV:L/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-362
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2008-5302- Updated
- 2026-11-02
EUVDEUVD-2008-5279 No score
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.
- Record
EUVD-2008-5279- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8vc4-5x78-9hxf No score
Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in Perl 5.8...
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.
- Record
GHSA-8vc4-5x78-9hxf- Weakness
- CWE-362
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2008-5302- Updated
- 2026-11-02
OSVDEBIAN-CVE-2008-5302 No score
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.
- Record
DEBIAN-CVE-2008-5302- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perlDebian:12 |
before 5.10.0-18 | 5.10.0-18 |
perlDebian:13 |
before 5.10.0-18 | 5.10.0-18 |
perlDebian:14 |
before 5.10.0-18 | 5.10.0-18 |
perlDebian:4.0 |
before 5.8.8-7etch5, plus listed versions 5.8.8-75.8.8-7etch15.8.8-7etch25.8.8-7etch35.8.8-7etch4 |
5.8.8-7etch5 |
perlRed Hat:enterprise_linux:5::client |
before 4:5.8.8-32.el5_5.1 | 4:5.8.8-32.el5_5.1 |
perl-debuginfoRed Hat:enterprise_linux:5::client |
before 4:5.8.8-32.el5_5.1 | 4:5.8.8-32.el5_5.1 |
perl-suidperlRed Hat:enterprise_linux:5::client |
before 4:5.8.8-32.el5_5.1 | 4:5.8.8-32.el5_5.1 |
perlRed Hat:enterprise_linux:5::server |
before 4:5.8.8-32.el5_5.1 | 4:5.8.8-32.el5_5.1 |
perl-debuginfoRed Hat:enterprise_linux:5::server |
before 4:5.8.8-32.el5_5.1 | 4:5.8.8-32.el5_5.1 |
perl-suidperlRed Hat:enterprise_linux:5::server |
before 4:5.8.8-32.el5_5.1 | 4:5.8.8-32.el5_5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2008-5302 is a medium vulnerability (CVSS 6.9) in Perl File\, published December 1, 2008. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 26th percentile. Fixed in perl 5.10.0-18.
References
secunia.com/advisories/32980
exchange.xforce.ibmcloud.com/vulnerabilities/47043
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6890
wiki.rpath.com/Advisories:rPSA-2009-0011
debian.org/security/2008/dsa-1678
ubuntu.com/usn/usn-700-1
Show 38 moreShow less
openwall.com/lists/oss-security/2008/11/28/2
lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
bugs.debian.org/cgi-bin/bugreport.cgi?bug=286905
bugs.debian.org/cgi-bin/bugreport.cgi?bug=286922
lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
support.apple.com/kb/HT4077
secunia.com/advisories/33314
securityfocus.com/archive/1/500210/100/0/threaded
ubuntu.com/usn/usn-700-2
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11076
kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
secunia.com/advisories/40052
redhat.com/support/errata/RHSA-2010-0458.html
kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
gossamer-threads.com/lists/perl/porters/233695
mandriva.com/security/advisories?name=MDVSA-2010:116
nvd.nist.gov/vuln/detail/CVE-2008-5302
github.com/advisories/GHSA-8vc4-5x78-9hxf
security-tracker.debian.org/tracker/CVE-2008-5302
access.redhat.com/errata/RHSA-2010:0458
access.redhat.com/security/updates/classification
cpansearch.perl.org/src/RGARCIA/Safe-2.27/Changes
bugzilla.redhat.com/show_bug.cgi?id=473450
bugzilla.redhat.com/show_bug.cgi?id=474217
bugzilla.redhat.com/show_bug.cgi?id=576508
bugzilla.redhat.com/show_bug.cgi?id=588269
security.access.redhat.com/data/csaf/v2/advisories/2010/rhsa-2010_0458.json
access.redhat.com/security/cve/CVE-2008-5302
cve.org/CVERecord?id=CVE-2008-5302
access.redhat.com/security/cve/CVE-2008-5303
cve.org/CVERecord?id=CVE-2008-5303
nvd.nist.gov/vuln/detail/CVE-2008-5303
access.redhat.com/security/cve/CVE-2010-1168
cve.org/CVERecord?id=CVE-2010-1168
nvd.nist.gov/vuln/detail/CVE-2010-1168
access.redhat.com/security/cve/CVE-2010-1447
cve.org/CVERecord?id=CVE-2010-1447
nvd.nist.gov/vuln/detail/CVE-2010-1447