copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2003.0022 -- RHSA-2003:006-06 -- Updated libpng packages fix buffer overflow

Date: 14 January 2003

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2003.0022 -- RHSA-2003:006-06
                Updated libpng packages fix buffer overflow
                              14 January 2003

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                libpng
Vendor:                 Red Hat
Operating System:       Red Hat Linux 6.2
                        Red Hat Linux 7.0
                        Red Hat Linux 7.1
                        Red Hat Linux 7.2
                        Red Hat Linux 7.3
                        Red Hat Linux 8.0
                        Linux
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

- --------------------------BEGIN INCLUDED TEXT--------------------

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

Synopsis:          Updated libpng packages fix buffer overflow
Advisory ID:       RHSA-2003:006-06
Issue date:        2003-01-13
Updated on:        2003-01-09
Product:           Red Hat Linux
Keywords:          libpng buffer overflow flaw:buf
Cross references:  
Obsoletes:         RHSA-2002:151
CVE Names:         CAN-2002-1363
- ---------------------------------------------------------------------

1. Topic:

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

2. Relevant releases/architectures:

Red Hat Linux 6.2 - i386
Red Hat Linux 7.0 - i386
Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - 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. 

Unpatched versions of libpng 1.2.1 and earlier do not correctly calculate
offsets, which leads to a buffer overflow and the possibility of arbitrary
code execution.  This could be exploited by an attacker creating a
carefully crafted PNG file which could execute arbitrary code when the
victim views it.

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.  For Red Hat Linux 8.0 the packages contain libpng 1.2.2 which is
not vulnerable to this issue.  For Red Hat Linux 6.2, 7, 7.1, 7.2 and 7.3
the packages contain libpng 1.0.14 with a backported patch that corrects
this issue.

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. RPMs required:

Red Hat Linux 6.2:

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

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

Red Hat Linux 7.0:

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

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

Red Hat Linux 7.1:

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

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

Red Hat Linux 7.2:

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

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

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

Red Hat Linux 7.3:

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

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

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/libpng-1.2.2-8.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/libpng-1.2.2-8.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/libpng-devel-1.2.2-8.i386.rpm



6. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
81be743693b70221bc3d539279a4c2dc 6.2/en/os/SRPMS/libpng-1.0.14-0.6x.4.src.rpm
dc976ce0f9f5a0e6afacf87978e10fdd 6.2/en/os/i386/libpng-1.0.14-0.6x.4.i386.rpm
f16e83385b2c4d512eefba519504a44e 6.2/en/os/i386/libpng-devel-1.0.14-0.6x.4.i386.rpm
65fde055efb4caeca9c847f2b5036a78 7.0/en/os/SRPMS/libpng-1.0.14-0.70.2.src.rpm
5d7db9565eed1a785fd7a03b75d221a5 7.0/en/os/i386/libpng-1.0.14-0.70.2.i386.rpm
c98488ae2ad9edaba3ce19d13ecdea87 7.0/en/os/i386/libpng-devel-1.0.14-0.70.2.i386.rpm
00d5ba5b22ba86373f5b20cec920f72d 7.1/en/os/SRPMS/libpng-1.0.14-0.7x.4.src.rpm
7b1507aa0d479257e888c267deefe757 7.1/en/os/i386/libpng-1.0.14-0.7x.4.i386.rpm
723342e918bcfe3343526a9cc483ba3d 7.1/en/os/i386/libpng-devel-1.0.14-0.7x.4.i386.rpm
00d5ba5b22ba86373f5b20cec920f72d 7.2/en/os/SRPMS/libpng-1.0.14-0.7x.4.src.rpm
7b1507aa0d479257e888c267deefe757 7.2/en/os/i386/libpng-1.0.14-0.7x.4.i386.rpm
723342e918bcfe3343526a9cc483ba3d 7.2/en/os/i386/libpng-devel-1.0.14-0.7x.4.i386.rpm
a5da2a1a78fc0a0c5cd5e20a8168548c 7.2/en/os/ia64/libpng-1.0.14-0.7x.4.ia64.rpm
e445bca70299635ac6f05c2b7b55ca20 7.2/en/os/ia64/libpng-devel-1.0.14-0.7x.4.ia64.rpm
00d5ba5b22ba86373f5b20cec920f72d 7.3/en/os/SRPMS/libpng-1.0.14-0.7x.4.src.rpm
7b1507aa0d479257e888c267deefe757 7.3/en/os/i386/libpng-1.0.14-0.7x.4.i386.rpm
723342e918bcfe3343526a9cc483ba3d 7.3/en/os/i386/libpng-devel-1.0.14-0.7x.4.i386.rpm
3969141f549de973eb1e0f8e0730e22e 8.0/en/os/SRPMS/libpng-1.2.2-8.src.rpm
65f374f46b9b03de4c162ef0052a6fe1 8.0/en/os/i386/libpng-1.2.2-8.i386.rpm
55f87f85687d29e92a6cc4e9bc7dd5cd 8.0/en/os/i386/libpng-devel-1.2.2-8.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 -v <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:
    
    md5sum <filename>


7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1363

8. Contact:

The Red Hat security contact is <security@redhat.com>.  More contact
details at http://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPiP68Sh9+71yA2DNAQE7RgP9HXAaLPPtbz1gujKTcXTV+Z8ASrxAPO1u
khO/yRewPgtAiXx2TwzCLE9D7nz3pLFHSoVJXtYivzemDBj5ZH1LajmbSznLpbEH
VSaer1GFxgt06l6H7YrHOqfs+1mH8NNY5K5wjhtng2pFsUWxlnDNU1WywzA5T4xL
nZsJvXYT8jI=
=BVow
-----END PGP SIGNATURE-----