Red Hat Bugzilla – Bug 157695
CAN-2005-0448 perl File::Path.pm rmtree race condition
Last modified: 2007-11-30 17:11:06 EST
+++ This bug was initially created as a clone of Bug #157694 +++
Race condition in the rmtree function in File::Path.pm in Perl before 5.8.4
allows local users to create arbitrary setuid binaries in the tree being
deleted, a different vulnerability than CAN-2004-0452.
attachment 114350 [details] contains the ubuntu patch (it needs some cleaning up)
"Race condition in the rmtree function in File::Path.pm in Perl before 5.8.4
allows local users to create arbitrary setuid binaries"
5.8.4 means FC3 is unaffected because we have perl-5.8.5? Can someone confirm?
I just took a look at the latest perl source, this issue has not been fixed by
upstream. It's proving very hard to do right, which is probably why upstream
hasn't done it yet.
Attachment to fix this security bug is from Ubuntu, but we require help cleaning
it up and testing before issuing a FC3 update. Apparently this is a difficult
problem to fix, and this is our second attempt doing so. =(
Created attachment 115494 [details]
Why not just use the debian patch? (attached)
Assigning to self.
Patched in CVS. Testing requested - if anyone has an exploit or something like
that, please try out. The testsuite passes exactly like before patching, but
regression testing is welcome as well.
Fixed in FC3 update perl-5.8.5-14.FC3