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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-978-1, DSA-3873-1
NVD severitymedium (attack range: remote)
Debian Bugs863870

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
perl (PTS)wheezy5.14.2-21+deb7u3vulnerable
wheezy (security)5.14.2-21+deb7u5fixed
jessie (security), jessie5.20.2-3+deb8u9fixed
stretch (security), stretch5.24.1-3+deb9u2fixed
buster, sid5.26.1-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
perlsource(unstable)5.24.1-3medium863870
perlsourcejessie5.20.2-3+deb8u7mediumDSA-3873-1
perlsourcewheezy5.14.2-21+deb7u5mediumDLA-978-1

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