scripts/annotate-output.sh in devscripts before 2.12.2, as used in rpmdevtools before 8.3, allows local users to modify arbitrary files via a symlink attack on the temporary (1) standard output or (2) standard error output file.
https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0316
https://exchange.xforce.ibmcloud.com/vulnerabilities/78230
https://bugzilla.redhat.com/show_bug.cgi?id=848022
http://www.ubuntu.com/usn/USN-1593-1
http://www.securityfocus.com/bid/55358
http://www.openwall.com/lists/oss-security/2012/08/31/7
http://www.mandriva.com/security/advisories?name=MDVSA-2013:123
http://www.debian.org/security/2012/dsa-2549
http://secunia.com/advisories/50600
http://lists.opensuse.org/opensuse-updates/2012-11/msg00000.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087335.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086159.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086138.html
http://git.fedorahosted.org/cgit/rpmdevtools.git/commit/?id=90b4400c2ab2e80cecfd8dfdf031536376ed2cdb