---
title: "CVE-2008-5302\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2008-5302?format=md
keywords: index, follow
---

# CVE-2008-5302

Publication date 1 December 2008

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| perl | 8.10 intrepid | Fixed 5.10.0-11.1ubuntu2.2 |
| 8.04 LTS hardy | Fixed 5.8.8-12ubuntu0.3 |
| 7.10 gutsy | Fixed 5.8.8-7ubuntu3.4 |
| 6.06 LTS dapper | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5302)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2008-5302)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2008-5302)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2008-5302)

### Related Ubuntu Security Notices (USN)

+ [USN-700-1](https://usn.ubuntu.com/USN-700-1)
+ Perl vulnerabilities
+ 24 December 2008

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2008-5302>
