TORQUE is a resource manager providing control over batch jobs and distributed compute nodes.
TORQUE creates temporary files with predictable names. Please note that the TORQUE package shipped in Gentoo Portage is not vulnerable in the default configuration. Only systems with more permissive access rights to the spool directory are vulnerable.
A local attacker could create links in the temporary file directory, pointing to a valid file somewhere on the filesystem. This could lead to the execution of arbitrary code with elevated privileges.
Ensure that untrusted users don't have write access to the spool directory.
All TORQUE users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-cluster/torque-2.1.6"