CVE-2008-5302: Race Condition

Published Dec 1, 2008
·
Updated

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.

Affected Software

4 affected components
Perl Perl=5.8.8
Perl Perl=5.10.0
Perl File\=\-path
Perl File\=\-path

Event History

Dec 1, 2008
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
05:30 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2008-5302?

CVE-2008-5302 is classified as a high severity vulnerability due to the potential for local users to exploit it to create arbitrary setuid binaries.

2

How do I fix CVE-2008-5302?

To fix CVE-2008-5302, update Perl's File::Path module to versions that are not affected, specifically versions after 2.07.

3

Who is affected by CVE-2008-5302?

CVE-2008-5302 affects systems running Perl 5.8.8 and Perl 5.10.0 with vulnerable versions of the File::Path module.

4

What type of attack does CVE-2008-5302 involve?

CVE-2008-5302 involves a symlink attack that exploits a race condition in the rmtree function.

5

Is CVE-2008-5302 a new vulnerability?

No, CVE-2008-5302 represents a regression error and is related to past vulnerabilities such as CVE-2005-0448 and CVE-2004-0452.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203