TUCoPS :: Linux :: Apps N-Z :: hack1270.htm

png - OpenPKG Security Advisory (png) OpenPKG-SA-2004.035
[OpenPKG-SA-2004.035] OpenPKG Security Advisory (png)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

OpenPKG Security Advisory                            The OpenPKG Project
http://www.openpkg.org/security.html              http://www.openpkg.org 
openpkg-security@openpkg.org                         openpkg@openpkg.org 
OpenPKG-SA-2004.035                                          04-Aug-2004
________________________________________________________________________

Package:             png
Vulnerability:       arbitrary code execution
OpenPKG Specific:    no

Affected Releases:   Affected Packages:           Corrected Packages:
OpenPKG CURRENT      <= png-1.2.5-20040629        >= png-1.2.5-20040804
                     <= doxygen-1.3.8-20040725    >= doxygen-1.3.8-20040804
                     <= ghostscript-8.14-20040630 >= ghostscript-8.14-20040804
                     <= kde-qt-3.2.3-20040702     >= kde-qt-3.2.3-20040804
                     <= pdflib-6.0.0p1-20040713   >= pdflib-6.0.0p1-20040804
                     <= perl-tk-5.8.5-20040720    >= perl-tk-5.8.5-20040804
                     <= qt-3.3.2-20040702         >= qt-3.3.2-20040804

OpenPKG 2.1          <= png-1.2.5-2.1.0           >= png-1.2.5-2.1.1
                     <= doxygen-1.3.7-2.1.0       >= doxygen-1.3.7-2.1.1
                     <= ghostscript-8.14-2.1.0    >= ghostscript-8.14-2.1.1
                     <= pdflib-6.0.0-2.1.0        >= pdflib-6.0.0-2.1.1
                     <= perl-tk-5.8.4-2.1.0       >= perl-tk-5.8.4-2.1.1
                     <= qt-3.3.2-2.1.0            >= qt-3.3.2-2.1.1

OpenPKG 2.0          <= png-1.2.5-2.0.2           >= png-1.2.5-2.0.3
                     <= doxygen-1.3.6-2.0.2       >= doxygen-1.3.6-2.0.3
                     <= ghostscript-8.13-2.0.2    >= ghostscript-8.13-2.0.3
                     <= pdflib-5.0.3-2.0.2        >= pdflib-5.0.3-2.0.3
                     <= perl-tk-5.8.3-2.0.2       >= perl-tk-5.8.3-2.0.3
                     <= qt-3.2.3-2.0.2            >= qt-3.2.3-2.0.3
                     <= rrdtool-1.0.46-2.0.2      >= rrdtool-1.0.46-2.0.3
                     <= tetex-2.0.2-2.0.2         >= tetex-2.0.2-2.0.3

Affected Releases:   Dependent Packages:
OpenPKG CURRENT      abiword analog apache autotrace blender cups emacs
                     firefox gd gdk-pixbuf ghostscript-esp gif2png gimp
                     gnuplot gqview graphviz gtk2 imagemagick imlib
                     latex2html lbreakout libwmf mozilla mplayer mrtg
                     nagios netpbm perl-tk php php3 php5 povray pstoedit
                     rrdtool scribus tetex transfig webalizer wml wv wx
                     xemacs xfig xine-ui xplanet xv zimg

OpenPKG 2.1          analog apache autotrace emacs gd gdk-pixbuf gif2png
                     gimp gnuplot gqview graphviz gtk2 imagemagick
                     imlib latex2html libwmf mozilla netpbm perl-tk php
                     pstoedit rrdtool tetex transfig webalizer wml xfig
                     xv

OpenPKG 2.0          apache emacs gd gdk-pixbuf gif2png gimp gnuplot
                     graphviz gtk2 imagemagick imlib latex2html libwmf
                     netpbm perl-tk php pstoedit transfig utotrace
                     webalizer wml xfig xv

Description:
  During a source code audit, Chris Evans discovered several problems in
  the Portable Network Graphics (PNG) library libpng [1], some of which
  are security relevant. This OpenPKG update fixes all known issues.

  A stack-based buffer overflow in libpng which can be triggered to run
  arbitrary code by a malicious png file. The Common Vulnerabilities
  and Exposures (CVE) project assigned the id CAN-2004-0597 [2] to the
  problem.

  A NULL-pointer crash in libpng which can be triggered by a malicious
  png file. The Common Vulnerabilities and Exposures (CVE) project
  assigned the id CAN-2004-0598 [3] to the problem.

  Various possible integer overflows in libpng which may have security
  consequences. The Common Vulnerabilities and Exposures (CVE) project
  assigned the id CAN-2004-0599 [4] to the problem.

  Please check whether you are affected by running "/bin/openpkg
  rpm -q png". If you have the "png" package installed and its version
  is affected (see above), we recommend that you immediately upgrade it
  (see Solution) and its dependent packages (see above), if any, too
  [5][6].

Solution:
  Select the updated source RPM appropriate for your OpenPKG release
  [7][8], fetch it from the OpenPKG FTP service [9][10] or a mirror
  location, verify its integrity [11], build a corresponding binary
  RPM from it [5] and update your OpenPKG installation by applying the
  binary RPM [6]. For the most recent release OpenPKG 2.1, perform the
  following operations to permanently fix the security problem (for
  other releases adjust accordingly).

  $ ftp ftp.openpkg.org
  ftp> bin
  ftp> cd release/2.1/UPD
  ftp> get png-1.2.5-2.1.1.src.rpm
  ftp> bye
  $ /bin/openpkg rpm -v --checksig png-1.2.5-2.1.1.src.rpm
  $ /bin/openpkg rpm --rebuild png-1.2.5-2.1.1.src.rpm
  $ su -
  # /bin/openpkg rpm -Fvh /RPM/PKG/png-1.2.5-2.1.1.*.rpm

  Additionally, we recommend that you rebuild and reinstall
  all dependent packages (see above), if any, too [5][6].
________________________________________________________________________

References:
  [1] http://www.libpng.org/pub/png/ 
  [2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0597 
  [3] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0598 
  [4] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0599 
  [5] http://www.openpkg.org/tutorial.html#regular-source 
  [6] http://www.openpkg.org/tutorial.html#regular-binary 
  [7] ftp://ftp.openpkg.org/release/2.1/UPD/png-1.2.5-2.1.1.src.rpm 
  [8] ftp://ftp.openpkg.org/release/2.0/UPD/png-1.2.5-2.0.3.src.rpm 
  [9] ftp://ftp.openpkg.org/release/2.1/UPD/ 
  [10] ftp://ftp.openpkg.org/release/2.0/UPD/ 
  [11] http://www.openpkg.org/security.html#signature 
________________________________________________________________________

For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG " (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from http://pgp.openpkg.org and
hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/ 
for details on how to verify the integrity of this advisory.
________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG  

iD8DBQFBEPzJgHWT4GPEy58RAqObAJ9P2rR/N8nfXDmOQEBb5rcUdMvUNwCfTaY3
vHQGjayhxr3KyVQ5PqVgG7A=
=svpv
-----END PGP SIGNATURE-----

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH