Foundation in Apple Mac OS X 10.4.11 creates world-writable directories while NSFileManager copies files recursively and only modifies the permissions afterward, which allows local users to modify copied files to cause a denial of service and possibly gain privileges.
https://exchange.xforce.ibmcloud.com/vulnerabilities/41299
http://www.vupen.com/english/advisories/2008/0924/references
http://www.us-cert.gov/cas/techalerts/TA08-079A.html
http://www.securitytracker.com/id?1019649
http://www.securityfocus.com/bid/28343
http://www.securityfocus.com/bid/28304
http://secunia.com/advisories/29420
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html