[39898] in bugtraq

home help back first fref pref prev next nref lref last post

[ GLSA 200507-22 ] sandbox: Insecure temporary file handling

daemon@ATHENA.MIT.EDU (Sune Kloppenborg Jeppesen)
Mon Jul 25 14:53:44 2005

From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
To: gentoo-announce@gentoo.org
Date: Mon, 25 Jul 2005 20:06:22 +0200
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
        security-alerts@linuxsecurity.com
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart13080579.eg7biefJJe";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200507252006.23500.jaervosz@gentoo.org>

--nextPart13080579.eg7biefJJe
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200507-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Low
     Title: sandbox: Insecure temporary file handling
      Date: July 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
    -------------------------------------------------------------------
  1  sys-apps/sandbox      < 1.2.11                          >= 1.2.11

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"

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
http://bugs.gentoo.org.

License
=======

Copyright 2005 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.

http://creativecommons.org/licenses/by-sa/2.0

--nextPart13080579.eg7biefJJe
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBC5SofzKC5hMHO6rkRAmb2AJ9AAHake2Obfc++xh2B62qKLob+aQCcDBWJ
Iz2t7oiWyjWB4kq8liwNKcY=
=g7a0
-----END PGP SIGNATURE-----

--nextPart13080579.eg7biefJJe--

home help back first fref pref prev next nref lref last post