Note: This is an archival copy of Security Sun Alert 241646 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1019583.1.
Article ID : 1019583.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2009-04-29
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerability in GNU tar May Lead to Arbitrary Code Execution or Denial of Service (DoS)



Category
Security

Release Phase
Resolved

Bug Id
6407045

Product
Solaris 9 Operating System
Solaris 10 Operating System
OpenSolaris

Date of Workaround Release
08-Sep-2008

Date of Resolved Release
28-Apr-2009

Security vulnerability in the GNU tar utility (see gtar(1)):

1. Impact

A security vulnerability in the GNU tar utility (see gtar(1)) bundled with Solaris 9 and Solaris 10 may allow a local or remote unprivileged user who provides a specially crafted tar archive to cause the execution of arbitrary code or a program crash. The ability to cause a program crash  is a type of Denial of Service (DoS).

Additional information regarding this issue is available at:
2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • Solaris 9 with patch 118191-01 and without patch 118191-02
  • Solaris 10 without patch 139099-01
  • OpenSolaris based upon builds snv_01 through snv_80
x86 Platform
  • Solaris 9 with patch 118192-01 and without patch 118192-02
  • Solaris 10 without patch 139100-01
  • OpenSolaris based upon builds snv_01 through snv_80
Note 1: Solaris 8 does not include support for GNU tar utility and is not impacted by this issue.

Note 2:  OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived.

To determine the base build of  OpenSolaris, the following command can be used:
    $ uname -v
snv_86
3. Symptoms

There are no predictable symptoms that would indicate the described issue has been exploited on a system.

4. Workaround

Until the patches for this issue can be applied, users should avoid using gtar(1) with archives from untrusted sources.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform
  • Solaris 9 with patch 118191-02 or later
  • Solaris 10 with patch 139099-01 or later
  • OpenSolaris based upon build snv_81 or later
x86 Platform
  • Solaris 9 with patch 118192-02 or later
  • Solaris 10 with patch 139100-01 or later
  • OpenSolaris based upon build snv_81 or later
For more information on Security Sun Alerts, see 1009886.1.

This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.

Copyright 2000-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.


Modification History
28-Apr-2009: Updated Contributing Factors and Resolution sections. Resolved.


References

139099-01
139100-01
118192-02
118193-02
118194-02





Attachments
This solution has no attachment