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.
docs.info.apple.com/article.html?artnum=307562
lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
secunia.com/advisories/29420
www.securityfocus.com/bid/28304
www.securityfocus.com/bid/28343
www.securitytracker.com/id?1019649
www.us-cert.gov/cas/techalerts/TA08-079A.html
www.vupen.com/english/advisories/2008/0924/references
exchange.xforce.ibmcloud.com/vulnerabilities/41299