Bug 607198 (CVE-2010-2233) - CVE-2010-2233 libtiff: incorrect type extension for negative toskew values on 64bit platforms
Summary: CVE-2010-2233 libtiff: incorrect type extension for negative toskew values on...
Status: CLOSED ERRATA
Alias: CVE-2010-2233
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: source=redhat,reported=20100610,publi...
Keywords: Security
Depends On: 606708
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-23 13:42 UTC by Tomas Hoger
Modified: 2012-07-11 20:06 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-07-07 09:23:15 UTC


Attachments (Terms of Use)

Description Tomas Hoger 2010-06-23 13:42:13 UTC
A flaw was found in a way libtiff handled vertically flipped (i.e. with negative toskew) images on 64bit platforms.  Numeric computation used to calculate buffer pointer was done in the way that incorrectly extended from 32bit type to 64bit, resulting in out-of-bounds writes.

For more details, refer to following bugs:
  http://bugzilla.maptools.org/show_bug.cgi?id=2207
  https://bugzilla.redhat.com/show_bug.cgi?id=583081

Comment 1 Tomas Hoger 2010-06-23 13:42:51 UTC
Statement:

Not vulnerable. This issue did not affect the versions of libtiff as shipped with Red Hat Enterprise Linux 3, 4, or 5.

Comment 2 Fedora Update System 2010-06-23 14:09:43 UTC
libtiff-3.9.4-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/libtiff-3.9.4-1.fc12

Comment 3 Fedora Update System 2010-06-23 14:11:07 UTC
libtiff-3.9.4-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libtiff-3.9.4-1.fc13

Comment 4 Fedora Update System 2010-07-01 18:42:54 UTC
libtiff-3.9.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Tomas Hoger 2010-07-02 10:25:13 UTC
CVE as described by Mitre:

tif_getimage.c in LibTIFF 3.9.0 and 3.9.2 on 64-bit platforms, as used
in ImageMagick, does not properly perform vertical flips, which allows
remote attackers to cause a denial of service (application crash) or
possibly execute arbitrary code via a crafted TIFF image, related to
"downsampled OJPEG input."

References:
http://securitytracker.com/id?1024150
http://www.remotesensing.org/libtiff/v3.9.4.html

Reference to 3.9.4 changelog seems to be due to securitytracker.com page incorrectly stating that this is fixed in 3.9.4.  This issue is not fixed in 3.9.4, the fix is not committed in upstream CVS yet.

Comment 6 Fedora Update System 2010-07-05 22:00:31 UTC
libtiff-3.9.4-1.fc12 has been pushed to the Fedora 12 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.