getmail 4.x before 4.2.0, and other versions before 3.2.5, when run as root, allows local users to write files in arbitrary directories via a symlink attack on subdirectories in the maildir.
https://exchange.xforce.ibmcloud.com/vulnerabilities/17439
http://www.qcc.ca/~charlesc/software/getmail-4/CHANGELOG
http://www.debian.org/security/2004/dsa-553