Security Advisories (2)
CVE-2017-6512 (2017-05-02)

Race condition in the rmtree and remove_tree functions allows attackers to set the mode on arbitrary files via vectors involving directory-permission loosening logic.

CVE-2008-2827 (2008-06-23)

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.

Changes for version 2.04 - 2007-11-22

  • integrate blead change #32276 (rmtree a file on VMS) (see http://www.nntp.perl.org/group/perl.perl5.changes/2007/11/msg20108.html)
  • add a test to show that we can rmtree() a file
  • specify core prereqs in Makefile.PL (as per cpants)

Modules

Create or remove directory trees