qpkg in Gentoolkit 0.2.0_pre10 and earlier allows local users to overwrite arbitrary files via a symlink attack on a temporary directory.
https://exchange.xforce.ibmcloud.com/vulnerabilities/17968
http://www.securityfocus.com/bid/11617
http://www.gentoo.org/security/en/glsa/glsa-200411-13.xml