Race condition in the rmtree function in File::Path 1.08 and 2.07 (lib/File/Path.pm) in…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- —
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2010:0458 Released 2010-06-07 · Red Hat rating Moderateperl security update
- Red Hat Enterprise Linux (v. 5 server) perl-4:5.8.8-32.el5_5.1, perl-4:5.8.8-32.el5_5.1.i386, perl-4:5.8.8-32.el5_5.1.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) perl-4:5.8.8-32.el5_5.1, perl-4:5.8.8-32.el5_5.1.i386, perl-suidperl-4:5.8.8-32.el5_5.1 +1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2010:0458 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2010:0458 |
Timeline
- 2026-10-02 Threatist record created from CVE-2008-5302
- 2026-10-03 Alias added: GHSA-8vc4-5x78-9hxf
References
Exploit 3
Advisory 7
Other 7
- oval:org.mitre.oval:def:6890
- http://wiki.rpath.com/Advisories:rPSA-2009-0011
- [oss-security] 20081128 Re: [oss-security] CVE Request - cups, dovecot-managesieve, perl, wireshark
- http://support.apple.com/kb/HT4077
- oval:org.mitre.oval:def:11076
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
More Perl File vulnerabilities
- TI-2008-05048 Race condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8… CVSS 2.0MEDIUM 6.9
Sources
- CVE-2008-5302 · CVE Program
- CVE-2008-5302 · NVD
- FIRST EPSS
- GHSA-8vc4-5x78-9hxf · GitHub Advisory Database · CC BY 4.0
- CVE-2008-5302 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences