LibTIFF TIFF file dir_count integer overflow

libtiff-tiff-tdircount-bo (18637) The risk level is classified as HighHigh Risk

Description:

LibTIFF is vulnerable to an integer overflow, caused by improper validation of user-supplied input when calculating a directory entry's size. By creating a TIFF file containing a specially-crafted tdir_count value, a remote attacker could overflow a buffer and execute arbitrary code on the system with user privileges, once the victim opens the file.


Consequences:

Gain Access

Remedy:

Upgrade to the latest version of LibTIFF (3.7.1 or later), available from the LibTIFF Web site. See References.

For Ubuntu Linux: Upgrade to the latest libtiff4 package (3.6.1-1.1ubuntu1.1 or later), as listed in USN-46-1 December 22, 2004 for more information. See References.

For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest version of tiff (3.5.5-6.woody3 or later), as listed in DSA-617-1. See References.

For Turbolinux:
Upgrade to the latest libtiff package, as listed below. Refer to Turbolinux Security Advisory TLSA-2005-4 for more information. See References.

Turbolinux 10 Server: 3.6.1-4 or later
Turbolinux Home: 3.5.7-7 or later
Turbolinux 10 Desktop: 3.5.7-7 or later
Turbolinux 8 Server: 3.5.7-7 or later
Turbolinux 8 Workstation: 3.5.5-7 or later
Turbolinux 7 Server: 3.5.5-7 or later
Turbolinux 7 Workstation: 3.5.5-7 or later

For Mac OS:
Apply Security Update 2005-005, as listed in AppleCare Knowledge Base Document 301528. See References.

For Red Hat Linux:
Refer to RHSA-2005:035-11 or RHSA-2005:019-11 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-01-06 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE-SA:2005:001 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Apple Mac OS X 10.3.9
  • Apple Mac OS X Server 10.3.9
  • Canonical Ubuntu 4.10
  • Debian Debian Linux 3.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 9.2 AMD64
  • MandrakeSoft Mandrake Linux 9.2
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Multi Network Firewall 8.2
  • Novell Linux Desktop 9
  • RedHat Enterprise Linux 2.1 AW
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Sam Leffler LibTIFF 3.5.7
  • Sam Leffler LibTIFF 3.7.0
  • Sun Solaris 10 SPARC
  • Sun Solaris 10 x86
  • Sun Solaris 7.0 SPARC
  • Sun Solaris 7.0 x86
  • Sun Solaris 8 SPARC
  • Sun Solaris 8 x86
  • Sun Solaris 9 x86
  • Sun Solaris 9 SPARC
  • SuSE Linux Enterprise Server 8
  • SuSE Linux Enterprise Server 9
  • SUSE SuSE Linux 8.1
  • SUSE SuSE Linux 8.2
  • SUSE SuSE Linux 9.0
  • SUSE SuSE Linux 9.1
  • SUSE SuSE Linux 9.2
  • SuSE SuSE Linux Desktop 1.0
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 7 Server
  • Turbolinux Turbolinux 7 Workstation
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux 8 Workstation
  • Turbolinux Turbolinux Home

Reported:

Dec 21, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page