sandbox: Insecure temporary file handling
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200507-22 / sandbox |
| Release Date |
July 25, 2005 |
| Latest Revision |
August 11, 2005: 02 |
| Impact |
low |
| Exploitable |
local |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| sys-apps/sandbox |
<
1.2.11 |
>=
1.2.11 |
All supported architectures
|
Related bugreports:
#96782
Synopsis
The sandbox utility may create temporary files in an insecure manner.
2.
Impact Information
Background
sandbox is a Gentoo Linux utility used by the Portage package
management system.
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.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All sandbox users should upgrade to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/sandbox-1.2.11"
|
4.
References
|