CVE-2008-2827

NameCVE-2008-2827
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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDTSA-142-1
Debian Bugs487319

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
perl (PTS)buster5.28.1-6+deb10u1fixed
bullseye5.32.1-4+deb11u3fixed
bullseye (security)5.32.1-4+deb11u1fixed
bookworm5.36.0-7+deb12u1fixed
trixie5.38.2-3fixed
sid5.38.2-3.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
perlsourceetch(not affected)
perlsourcelenny5.10.0-10+lenny1DTSA-142-1
perlsource(unstable)5.10.0-11medium487319

Notes

[etch] - perl <not-affected> (doesn't change link target permissions)
affects other packages like debsums, see bugreport

Search for package or bug name: Reporting problems