Bug 431525 (CVE-2008-0554) - CVE-2008-0554 netpbm: GIF handling buffer overflow in giftopnm
Summary: CVE-2008-0554 netpbm: GIF handling buffer overflow in giftopnm
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-0554
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 432483 432484 432485 432486
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-05 10:08 UTC by Tomas Hoger
Modified: 2019-09-29 12:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-28 10:23:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0131 0 normal SHIPPED_LIVE Moderate: netpbm security update 2008-02-28 10:03:27 UTC

Description Tomas Hoger 2008-02-05 10:08:06 UTC
GIF handling code used in netpbm's giftopnm converter is based on the same code
as used by gd and SDL_image and is affected by the overflow known as
CVE-2006-4484 and CVE-2007-6697.

readImageData function in giftopnm.c does not properly check the value of
lzwMinCodeSize value read from GIF image before passing it to lzwInit, which
uses it as upper bound during the initialization of fixed sized table array,
leading to a buffer overflow.

This issue was fixed in upstream version 10.27.  Code checking the value is in
the initial giftopnm.c revision in projects public SVN repository:

http://netpbm.svn.sourceforge.net/viewvc/netpbm/trunk/converter/other/giftopnm.c?revision=1&view=markup#l_1052

This issue does not affect netpbm packages as shipped in Red Hat Enterprise
Linux 5 and current versions of Fedora, as those packages are based on fixed
upstream version.

Related issues:
CVE-2006-4484 (gd), CVE-2007-6697 (SDL_image), CVE-2008-0553 (tk)

Comment 2 Tomas Hoger 2008-02-12 11:47:30 UTC
This issue does not affect versions of netpbm as shipped with Red Hat Enterprise
Linux 5 and Fedora 7 and 8, as those are based on upstream version which already
contains the patch.

Comment 5 Red Hat Product Security 2008-02-28 10:23:26 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2008-0131.html




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