CVE-2017-6512

NameCVE-2017-6512
DescriptionRace condition in the rmtree and remove_tree functions in the File-Path module before 2.13 for Perl allows attackers to set the mode on arbitrary files via vectors involving directory-permission loosening logic.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-978-1, DSA-3873-1
Debian Bugs863870

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
perl (PTS)jessie, jessie (lts)5.20.2-3+deb8u14fixed
stretch (security)5.24.1-3+deb9u5fixed
stretch (lts), stretch5.24.1-3+deb9u8fixed
buster, buster (lts)5.28.1-6+deb10u2fixed
bullseye5.32.1-4+deb11u3fixed
bullseye (security)5.32.1-4+deb11u4fixed
bookworm5.36.0-7+deb12u1fixed
sid, trixie5.40.0-7fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
perlsourcewheezy5.14.2-21+deb7u5DLA-978-1
perlsourcejessie5.20.2-3+deb8u7DSA-3873-1
perlsource(unstable)5.24.1-3863870

Notes

https://rt.cpan.org/Public/Bug/Display.html?id=121951
https://github.com/jkeenan/File-Path/commit/e5ef95276ee8ad471c66ee574a5d42552b3a6af2

Search for package or bug name: Reporting problems