GLSA 200611-14: TORQUE: Insecure temporary file creation

Severity:high
Title:TORQUE: Insecure temporary file creation
Date:11/20/2006
Bugs: #152104
ID:200611-14

Synopsis

TORQUE creates temporary files in an insecure manner which could lead to the execution of arbitrary code with elevated privileges.

Background

TORQUE is a resource manager providing control over batch jobs and distributed compute nodes.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-cluster/torque < 2.1.6 >= 2.1.6 All supported architectures

Description

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.

Impact

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.

Workaround

Ensure that untrusted users don't have write access to the spool directory.

Resolution

All TORQUE users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=sys-cluster/torque-2.1.6"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200611-14.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!