CVE-2008-2827

Summary

CVECVE-2008-2827
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-06-23 19:41:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before performing a chmod, which allows local users to modify the permissions of arbitrary files via a symlink attack, a different vulnerability than CVE-2005-0448 and CVE-2004-0452.

Risk And Classification

Primary CVSS: v2.0 4.6 from [email protected]

AV:L/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Perl Perl 5.10 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
[security-announce] SUSE Security Summary Report SUSE-SR:2008:017 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Perl "File::Path::rmtree" Insecure chmod on Symbolic Links - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com
#487319 - perl-modules: File::Path::rmtree sets symlink target permissions to 0777 - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org Exploit
Support / Security / Advisories / / MDVSA-2008:165 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Perl 'rmtree()' Function Local Insecure Permissions Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Bug #36982 for File-Path: rmtree() makes symlink targets world-writable af854a3a-2127-422b-91ae-364da2661108 rt.cpan.org Exploit
Fedora update for perl - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Perl rmtree() Function Lets Local Users Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
[SECURITY] Fedora 9 Update: perl-5.10.0-27.fc9 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2008-06-24Mark J CoxNot vulnerable. This issue did not affect the versions of perl as shipped with Red Hat Enterprise Linux 2.1, 3, 4, or 5, Red Hat Application Stack 1, or Solaris versions of Red Hat Directory Server 7.1 and 8, Certificate System 7.x.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report