SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Multimedia)  >   libpng Vendors:   libpng.sourceforge.net
(Red Hat Issues Fix) 'libpng' Portable Network Graphics Library Buffer Overflow Lets Remote Users Crash Affected Applications
SecurityTracker Alert ID:  1005086
SecurityTracker URL:  http://securitytracker.com/id/1005086
CVE Reference:   CAN-2002-0660, CAN-2002-0728   (Links to External Site)
Date:  Aug 19 2002
Impact:   Denial of service via local system, Denial of service via network, Execution of arbitrary code via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): Prior to 1.2.4 and prior to 1.0.14
Description:   A buffer overflow vulnerability was reported in 'libpng'. A remote user may be able to create a specially crafted Portable Network Graphics (PNG) image file to cause an affected application to crash.

It is reported that the progressive reader code contains a buffer overflow that can be triggered by a malicious PNG image file that contains more IDAT data than indicated by the IHDR chunk. According to the report, applications that use libpng may crash when loading a malicious file.

If the X size is greater than 2^32 divided by the number_bytes_needed_per_pixel then the number of bytes required for a row becomes greater than 2^32 and overflows.In a variation, a much larger IDAT chunk than the data size will also cause corruption.

It is reported that it is theoretically possible to execute arbitrary code using this buffer overflow, but exploitation may be non-trivial.

Additional details are available at:

http://bugzilla.mozilla.org/show_bug.cgi?id=155222

Impact:   A remote user can create a PNG image file that will cause the affected application to crash when loading the file.
Solution:   Red Hat has released a fix.

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/libpng-1.0.14-0.6x.3.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/libpng-1.0.14-0.6x.3.alpha.rpm
ftp://updates.redhat.com/6.2/en/os/alpha/libpng-devel-1.0.14-0.6x.3.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/libpng-1.0.14-0.6x.3.i386.rpm
ftp://updates.redhat.com/6.2/en/os/i386/libpng-devel-1.0.14-0.6x.3.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/libpng-1.0.14-0.6x.3.sparc.rpm
ftp://updates.redhat.com/6.2/en/os/sparc/libpng-devel-1.0.14-0.6x.3.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/libpng-1.0.14-0.70.1.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/libpng-1.0.14-0.70.1.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/libpng-devel-1.0.14-0.70.1.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/libpng-1.0.14-0.70.1.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/libpng-devel-1.0.14-0.70.1.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/libpng-1.0.14-0.7x.3.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/libpng-devel-1.0.14-0.7x.3.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm

The verification checksums are:

MD5 sum Package Name

37e6d57dd31704b71feef50369c5e8ff 6.2/en/os/SRPMS/libpng-1.0.14-0.6x.3.src.rpm
3d3bd8f26bba979c6301392b67bbaa1c 6.2/en/os/alpha/libpng-1.0.14-0.6x.3.alpha.rpm
a12a60e72efd324e062577c6fbc169fa 6.2/en/os/alpha/libpng-devel-1.0.14-0.6x.3.alpha.rpm
d04060bc8a6b5af91fce003e8c0d5faa 6.2/en/os/i386/libpng-1.0.14-0.6x.3.i386.rpm
e404307047f3fd803203beeaefa7f6bf 6.2/en/os/i386/libpng-devel-1.0.14-0.6x.3.i386.rpm
f5145bfc2c3b1fd851faa973fe8acf54 6.2/en/os/sparc/libpng-1.0.14-0.6x.3.sparc.rpm
6c811458f9d1830a1a8a7ec488c90063 6.2/en/os/sparc/libpng-devel-1.0.14-0.6x.3.sparc.rpm
7dd1a3c2196fe6595a7eadd267b2cf81 7.0/en/os/SRPMS/libpng-1.0.14-0.70.1.src.rpm
17785632b35b332ae3422e96e41185be 7.0/en/os/alpha/libpng-1.0.14-0.70.1.alpha.rpm
a1c84380d5ed3feebce4cd800042b0e6 7.0/en/os/alpha/libpng-devel-1.0.14-0.70.1.alpha.rpm
5b0cc82f9cc13d020e84a685972b2d6e 7.0/en/os/i386/libpng-1.0.14-0.70.1.i386.rpm
97fc5a8ba5f9189ed31fa653efcbee94 7.0/en/os/i386/libpng-devel-1.0.14-0.70.1.i386.rpm
9d889338062ed3f54c274f8d287f8478 7.1/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm
8a83337f7161079002ea910996364fab 7.1/en/os/alpha/libpng-1.0.14-0.7x.3.alpha.rpm
529a2870130c849f71107401f1697d39 7.1/en/os/alpha/libpng-devel-1.0.14-0.7x.3.alpha.rpm
738be191bbe6ae286185cc7e03686c2b 7.1/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
e1b6c601e3469125617278a948eeea4f 7.1/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm
ebbb5938bf37b293ece898a59c889304 7.1/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
6086069c4a7d5e85c5241f6b1d803aea 7.1/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm
9d889338062ed3f54c274f8d287f8478 7.2/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm
738be191bbe6ae286185cc7e03686c2b 7.2/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
e1b6c601e3469125617278a948eeea4f 7.2/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm
ebbb5938bf37b293ece898a59c889304 7.2/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
6086069c4a7d5e85c5241f6b1d803aea 7.2/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm
9d889338062ed3f54c274f8d287f8478 7.3/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm
738be191bbe6ae286185cc7e03686c2b 7.3/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
e1b6c601e3469125617278a948eeea4f 7.3/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm

Vendor URL:  www.libpng.org/pub/png/ (Links to External Site)
Cause:   Boundary error
Underlying OS:   Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Jul 31 2002 'libpng' Portable Network Graphics Library Buffer Overflow Lets Remote Users Crash Affected Applications



 Source Message Contents

Date:  Mon, 19 Aug 2002 04:22 -0400
Subject:  [RHSA-2002:151-21] Updated libpng packages fix buffer overflow


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated libpng packages fix buffer overflow
Advisory ID:       RHSA-2002:151-21
Issue date:        2002-07-23
Updated on:        2002-08-14
Product:           Red Hat Linux
Keywords:          libpng buffer overflow IDAT IHDR
Cross references:  
Obsoletes:         
CVE Names:         CAN-2002-0728 CAN-2002-0660
---------------------------------------------------------------------

1. Topic:

Updated libpng packages are available that fix a buffer overflow vulnerability.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386, ia64

Red Hat Linux 7.3 - i386

3. Problem description:

The libpng package contains a library of functions for creating and
manipulating PNG (Portable Network Graphics) image format files. PNG
is a bit-mapped graphics format similar to the GIF format. 

Versions of libpng prior to 1.0.14 contain a buffer overflow in the
progressive reader when the PNG datastream contains more IDAT data than
indicated by the IHDR chunk.  Such deliberately malformed datastreams would
crash applications that are linked to libpng and that use the progressive
reading feature. Mozilla is such an application.  (CAN-2002-0728)

Packages within Red Hat Linux, such as Mozilla, make use of the shared
libpng library. Therefore, all users are advised to upgrade to the errata
packages which contain libpng 1.0.14.  Libpng 1.0.14 is not vulnerable to
this issue and contains fixes for other bugs, including a number of memory
leaks and another potential buffer overflow (CAN-2002-0660)

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

69716 - libpng security update

6. RPMs required:

Red Hat Linux 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/os/SRPMS/libpng-1.0.14-0.6x.3.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/os/alpha/libpng-1.0.14-0.6x.3.alpha.rpm
ftp://updates.redhat.com/6.2/en/os/alpha/libpng-devel-1.0.14-0.6x.3.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/os/i386/libpng-1.0.14-0.6x.3.i386.rpm
ftp://updates.redhat.com/6.2/en/os/i386/libpng-devel-1.0.14-0.6x.3.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/os/sparc/libpng-1.0.14-0.6x.3.sparc.rpm
ftp://updates.redhat.com/6.2/en/os/sparc/libpng-devel-1.0.14-0.6x.3.sparc.rpm

Red Hat Linux 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/os/SRPMS/libpng-1.0.14-0.70.1.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/os/alpha/libpng-1.0.14-0.70.1.alpha.rpm
ftp://updates.redhat.com/7.0/en/os/alpha/libpng-devel-1.0.14-0.70.1.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/os/i386/libpng-1.0.14-0.70.1.i386.rpm
ftp://updates.redhat.com/7.0/en/os/i386/libpng-devel-1.0.14-0.70.1.i386.rpm

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/os/alpha/libpng-1.0.14-0.7x.3.alpha.rpm
ftp://updates.redhat.com/7.1/en/os/alpha/libpng-devel-1.0.14-0.7x.3.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm

ia64:
ftp://updates.redhat.com/7.1/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
ftp://updates.redhat.com/7.1/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
37e6d57dd31704b71feef50369c5e8ff 6.2/en/os/SRPMS/libpng-1.0.14-0.6x.3.src.rpm
3d3bd8f26bba979c6301392b67bbaa1c 6.2/en/os/alpha/libpng-1.0.14-0.6x.3.alpha.rpm
a12a60e72efd324e062577c6fbc169fa 6.2/en/os/alpha/libpng-devel-1.0.14-0.6x.3.alpha.rpm
d04060bc8a6b5af91fce003e8c0d5faa 6.2/en/os/i386/libpng-1.0.14-0.6x.3.i386.rpm
e404307047f3fd803203beeaefa7f6bf 6.2/en/os/i386/libpng-devel-1.0.14-0.6x.3.i386.rpm
f5145bfc2c3b1fd851faa973fe8acf54 6.2/en/os/sparc/libpng-1.0.14-0.6x.3.sparc.rpm
6c811458f9d1830a1a8a7ec488c90063 6.2/en/os/sparc/libpng-devel-1.0.14-0.6x.3.sparc.rpm
7dd1a3c2196fe6595a7eadd267b2cf81 7.0/en/os/SRPMS/libpng-1.0.14-0.70.1.src.rpm
17785632b35b332ae3422e96e41185be 7.0/en/os/alpha/libpng-1.0.14-0.70.1.alpha.rpm
a1c84380d5ed3feebce4cd800042b0e6 7.0/en/os/alpha/libpng-devel-1.0.14-0.70.1.alpha.rpm
5b0cc82f9cc13d020e84a685972b2d6e 7.0/en/os/i386/libpng-1.0.14-0.70.1.i386.rpm
97fc5a8ba5f9189ed31fa653efcbee94 7.0/en/os/i386/libpng-devel-1.0.14-0.70.1.i386.rpm
9d889338062ed3f54c274f8d287f8478 7.1/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm
8a83337f7161079002ea910996364fab 7.1/en/os/alpha/libpng-1.0.14-0.7x.3.alpha.rpm
529a2870130c849f71107401f1697d39 7.1/en/os/alpha/libpng-devel-1.0.14-0.7x.3.alpha.rpm
738be191bbe6ae286185cc7e03686c2b 7.1/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
e1b6c601e3469125617278a948eeea4f 7.1/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm
ebbb5938bf37b293ece898a59c889304 7.1/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
6086069c4a7d5e85c5241f6b1d803aea 7.1/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm
9d889338062ed3f54c274f8d287f8478 7.2/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm
738be191bbe6ae286185cc7e03686c2b 7.2/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
e1b6c601e3469125617278a948eeea4f 7.2/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm
ebbb5938bf37b293ece898a59c889304 7.2/en/os/ia64/libpng-1.0.14-0.7x.3.ia64.rpm
6086069c4a7d5e85c5241f6b1d803aea 7.2/en/os/ia64/libpng-devel-1.0.14-0.7x.3.ia64.rpm
9d889338062ed3f54c274f8d287f8478 7.3/en/os/SRPMS/libpng-1.0.14-0.7x.3.src.rpm
738be191bbe6ae286185cc7e03686c2b 7.3/en/os/i386/libpng-1.0.14-0.7x.3.i386.rpm
e1b6c601e3469125617278a948eeea4f 7.3/en/os/i386/libpng-devel-1.0.14-0.7x.3.i386.rpm


These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>


8. References:

ftp://swrinde.nde.swri.edu/pub/png-group/archives/png-list.200207
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0728
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0660


Copyright(c) 2000, 2001, 2002 Red Hat, Inc.



_______________________________________________
Redhat-watch-list mailing list
To unsubscribe, visit: https://listman.redhat.com/mailman/listinfo/redhat-watch-list


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC