GLSA-200908-03 : libTIFF: User-assisted execution of arbitrary code

This script is Copyright (C) 2009-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200908-03
(libTIFF: User-assisted execution of arbitrary code)

Two vulnerabilities have been reported in libTIFF:
wololo reported a buffer underflow in the LZWDecodeCompat() function
(CVE-2009-2285).
Tielei Wang of ICST-ERCIS, Peking University reported two integer
overflows leading to heap-based buffer overflows in the tiff2rgba and
rgb2ycbcr tools (CVE-2009-2347).

Impact :

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

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200908-03.xml

Solution :

All libTIFF users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-libs/tiff-3.8.2-r8'

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.3
(CVSS2#E:POC/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 40519 (gentoo_GLSA-200908-03.nasl)

Bugtraq ID: 35451
35652

CVE ID: CVE-2009-2285
CVE-2009-2347