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

Multiple Integer Overflow Vulnerabilities in the libtiff(3) Image Conversion Tools 'tiff2rgba' and 'rgb2ycbcr' May Lead to Arbitrary Code Execution



Category
Security

Release Phase
Workaround

Bug Id
6858149

Product
Solaris 8 Operating System
Solaris 9 Operating System
Solaris 10 Operating System
OpenSolaris

Date of Workaround Release
14-Aug-2009

Multiple Integer Overflow Vulnerabilities in the libtiff(3) Image Conversion Tools 'tiff2rgba' and 'rgb2ycbcr' May Lead to Arbitrary Code Execution

1. Impact

Multiple integer overflow vulnerabilities in the libtiff(3) image conversion tools 'tiff2rgba' and 'rgb2ycbcr' may allow a local or remote unprivileged user to execute arbitrary code via a TIFF image with large width and height values.

This issue is also described in the following document:


2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • GNOME 2.0 (for Solaris 8)
  • Solaris 9
  • Solaris 10 without patch 119900-09
  • OpenSolaris based upon builds snv_01 through snv_121
x86 Platform
  • GNOME 2.0 (for Solaris 8)
  • Solaris 9
  • Solaris 10 without patch 119901-08
  • OpenSolaris based upon builds snv_01 through snv_121
Notes:

1. Solaris 8 entered EOSL Phase 2 on 1 April 2009. Entitlement to patches developed on or after 1 April 2009 requires the purchase of the Solaris 8 Vintage Patch Service. See Note in section 5 for more details.

2. This issue only affect systems which have the libtiff(3) conversion utilities tiff2rgba and rgb2ycbcr installed. These utilities are part of the SUNWTiff package. To check whether the SUNWTiff package is installed on Solaris 8, 9, and 10 the pkginfo(1) command can be used as in the following example:
$ pkginfo -q SUNWTiff && echo "SUNWTiff is installed"
3. 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 to execute arbitrary code.

4. Workaround

To work around the described issue, do not load TIFF images from untrusted sources.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform

  • Solaris 10 with patch 119900-09 or later
  • OpenSolaris based upon builds snv_122 or later
x86 Platform
  • Solaris 10 with patch 119901-08 or later
  • OpenSolaris based upon builds snv_122 or later
A final resolution is pending completion for GNOME 2.0 (for Solaris 8) and Solaris 9.

Note: The READMEs of Solaris 8 patches developed on or after 1 April 2009 are available to all customers however Solaris 8 entered EOSL Phase 2 on April 1, 2009 and thus entitlement for these patches, including those that fix security vulnerabilities, requires the purchase of the Solaris 8 Vintage Patch Service. More information about the Solaris 8 Vintage Patch Service is available at:


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
20-Aug-2009: Update Contributing Factors and Resolution sections


References

119900-09
119901-08





Attachments
This solution has no attachment