The privilege-dropping implementation in the (1) pam_env and (2) pam_mail modules in Linux-PAM (aka pam) 1.1.2 does not check the return value of the setfsuid system call, which might allow local users to obtain sensitive information by leveraging an unintended uid, as demonstrated by a symlink attack on the .pam_environment file in a user's home directory. NOTE: this vulnerability exists because of an incomplete fix for CVE-2010-3435.
https://bugzilla.redhat.com/show_bug.cgi?id=641361
http://www.openwall.com/lists/oss-security/2010/09/24/2
http://www.openwall.com/lists/oss-security/2010/09/21/11
http://security.gentoo.org/glsa/glsa-201206-31.xml
http://secunia.com/advisories/49711
http://openwall.com/lists/oss-security/2010/10/25/2
http://openwall.com/lists/oss-security/2010/10/03/1
http://openwall.com/lists/oss-security/2010/09/27/7
http://openwall.com/lists/oss-security/2010/09/27/5
http://openwall.com/lists/oss-security/2010/09/27/4
http://openwall.com/lists/oss-security/2010/09/27/10
http://openwall.com/lists/oss-security/2010/09/21/9
http://openwall.com/lists/oss-security/2010/09/21/8
http://openwall.com/lists/oss-security/2010/09/21/3