The kernel in Apple Mac OS X 10.4 through 10.4.10 does not reset the current Mach Thread Port or Thread Exception Port when executing a setuid program, which allows local users to execute arbitrary code by creating the port before launching the setuid program, then writing to the address space of the setuid process.
docs.info.apple.com/article.html?artnum=307041
labs.idefense.com/intelligence/vulnerabilities/display.php?id=630
lists.apple.com/archives/security-announce/2007/Nov/msg00002.html
secunia.com/advisories/27643
www.securityfocus.com/bid/26444
www.us-cert.gov/cas/techalerts/TA07-319A.html
www.vupen.com/english/advisories/2007/3868
exchange.xforce.ibmcloud.com/vulnerabilities/38466