libTIFF: User-assisted execution of arbitrary code

Security Team  Contact Address

Updated September 08, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200809-07 / tiff
Release Date September 08, 2008
Latest Revision September 08, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/tiff < 3.8.2-r4 >= 3.8.2-r4 All supported architectures

Related bugreports: #234080

Synopsis

Multiple buffer underflow vulnerabilities in libTIFF may allow for the remote execution of arbitrary code.

2.  Impact Information

Background

libTIFF provides support for reading and manipulating TIFF (Tagged Image File Format) images.

Description

Drew Yao (Apple Product Security) and Clay Wood reported multiple buffer underflows in the LZWDecode() and LZWDecodeCompat() functions in tif_lzw.c when processing TIFF files.

Impact

A remote attacker could entice a user to open a specially crafted TIFF file with an application making use of libTIFF, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libTIFF users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/tiff-3.8.2-r4"

4.  References