Bug 803078 (CVE-2012-1173) - CVE-2012-1173 libtiff: Heap-buffer overflow due to TileSize calculation when parsing tiff files
Summary: CVE-2012-1173 libtiff: Heap-buffer overflow due to TileSize calculation when ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-1173
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 808551 808552 808553 808554 810116 810118 836127
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-13 21:35 UTC by Vincent Danen
Modified: 2019-09-29 12:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-10 18:51:45 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0468 0 normal SHIPPED_LIVE Important: libtiff security update 2012-04-11 00:06:17 UTC

Description Vincent Danen 2012-03-13 21:35:29 UTC
A flaw was found in the way that LibTIFF attempted to allocate space for a tile within a TIFF image file.  When calculating the size for a buffer, LibTIFF performs a multiply that can cause an integer overflow.  After allocation, LibTIFF will initialize the buffer with the tile data, which can cause code execution under the context of the application using LibTIFF, and with the calling user's permissions.

http://bugzilla.maptools.org/show_bug.cgi?id=2369

Comment 2 Huzaifa S. Sidhpurwala 2012-03-14 09:22:50 UTC
http://bugzilla.maptools.org/show_bug.cgi?id=2369

Note: Segfault seen on 32 bit only.

RHEL6 - x86_65
==============
[root@dhcp201-201 ~]# tifftopnm poc.tif 
poc.tif: Integer overflow in TIFFVTileSize.
TIFFReadDirectory: poc.tif: cannot handle zero tile size.
tifftopnm: error opening TIFF file poc.tif

[root@dhcp201-201 ~]# arch
x86_64

RHEL6 - x86
===========
[root@rhel6-server-x32 ~]# tifftopnm poc.tif 
tifftopnm: writing PPM file
P6
800 607
255
Segmentation fault

[root@rhel6-server-x32 ~]# arch
i686

Comment 15 Vincent Danen 2012-03-30 17:46:02 UTC
This is to be embargoed until April 4th at 1pm PST.

Comment 16 Huzaifa S. Sidhpurwala 2012-04-05 08:17:14 UTC
Created libtiff tracking bugs for this issue

Affects: fedora-all [bug 810116]

Comment 17 Huzaifa S. Sidhpurwala 2012-04-05 08:17:18 UTC
Created mingw32-libtiff tracking bugs for this issue

Affects: fedora-all [bug 810118]

Comment 23 errata-xmlrpc 2012-04-10 20:10:35 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2012:0468 https://rhn.redhat.com/errata/RHSA-2012-0468.html

Comment 24 Fedora Update System 2012-04-12 02:24:17 UTC
libtiff-3.9.5-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 25 Fedora Update System 2012-04-18 19:27:34 UTC
libtiff-3.9.5-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 26 Fedora Update System 2012-04-22 03:26:55 UTC
libtiff-3.9.5-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.