Every CVE Search/ Get API key

CVE-2008-2827

The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before...

4.6 MediumPublic exploitFix available

The 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.

Exploit likelihood

0.84%Down 2.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.6

The 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.

Record
CVE-2008-2827
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

The 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.

Record
CVE-2008-2827
Updated
2026-11-02
EUVDEUVD-2008-2820 No score

The 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.

Record
EUVD-2008-2820
Updated
2026-11-03
GitHub AdvisoriesGHSA-h567-wg66-2v4f No score

The rmtree function in lib/File/Path.pm in Perl 5.10 does not properly check permissions before...

The 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.

Record
GHSA-h567-wg66-2v4f
Updated
2026-11-02
OSV No score

The 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.

Record
CVE-2008-2827
Updated
2026-11-02
OSVDEBIAN-CVE-2008-2827 No score

The 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.

Record
DEBIAN-CVE-2008-2827
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
perl
Debian:12
before 5.10.0-11
5.10.0-11
perl
Debian:13
before 5.10.0-11
5.10.0-11
perl
Debian:14
before 5.10.0-11
5.10.0-11
perl
Debian:5.0
before 5.10.0-10+lenny1
5.10.0-10+lenny1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPerl - 'rmtree()' Function Local Insecure Permissions2008-06-23

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2008-2827 is a medium vulnerability (CVSS 4.6) in Perl, published June 23, 2008. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.84%, the 58th percentile. Fixed in perl 5.10.0-11.

References

Show 8 moreShow less
MoveEnter Open