Every CVE Search/ Get API key

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...

6.9 MediumFix available

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

0.33%Down 1.2 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
perl
Debian:12
before 5.10.0-18
5.10.0-18
perl
Debian:13
before 5.10.0-18
5.10.0-18
perl
Debian:14
before 5.10.0-18
5.10.0-18
perl
Debian: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
perl
Red Hat:enterprise_linux:5::client
before 4:5.8.8-32.el5_5.1
4:5.8.8-32.el5_5.1
perl-debuginfo
Red Hat:enterprise_linux:5::client
before 4:5.8.8-32.el5_5.1
4:5.8.8-32.el5_5.1
perl-suidperl
Red Hat:enterprise_linux:5::client
before 4:5.8.8-32.el5_5.1
4:5.8.8-32.el5_5.1
perl
Red Hat:enterprise_linux:5::server
before 4:5.8.8-32.el5_5.1
4:5.8.8-32.el5_5.1
perl-debuginfo
Red Hat:enterprise_linux:5::server
before 4:5.8.8-32.el5_5.1
4:5.8.8-32.el5_5.1
perl-suidperl
Red Hat:enterprise_linux:5::server
before 4:5.8.8-32.el5_5.1
4:5.8.8-32.el5_5.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 38 moreShow less
MoveEnter Open