GLSA 200507-22: sandbox: Insecure temporary file handling

Severity:low
Title:sandbox: Insecure temporary file handling
Date:07/25/2005
Bugs: #96782
ID:200507-22

Synopsis

The sandbox utility may create temporary files in an insecure manner.

Background

sandbox is a Gentoo Linux utility used by the Portage package management system.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-apps/sandbox < 1.2.11 >= 1.2.11 All supported architectures

Description

The Gentoo Linux Security Audit Team discovered that the sandbox utility was vulnerable to multiple TOCTOU (Time of Check, Time of Use) file creation race conditions.

Impact

Local users may be able to create or overwrite arbitrary files with the permissions of the root user.

Workaround

There is no known workaround at this time.

Resolution

All sandbox users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=sys-apps/sandbox-1.2.11"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200507-22.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!