Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:6146
HistoryApr 30, 2004 - 12:00 a.m.

[Full-Disclosure] [OpenPKG-SA-2004.017] OpenPKG Security Advisory (png)

2004-04-3000:00:00
vulners.com
15

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


OpenPKG Security Advisory The OpenPKG Project
http://www.openpkg.org/security.html http://www.openpkg.org
[email protected] [email protected]
OpenPKG-SA-2004.017 29-Apr-2004


Package: png
Vulnerability: denial of service
OpenPKG Specific: no

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= abiword-2.1.1-20040406 >= abiword-2.1.2-20040429
<= analog-5.32-20040207 >= analog-5.32-20040429
<= doxygen-1.3.6-20040212 >= doxygen-1.3.6-20040429
<= firefox-0.8-20040210 >= firefox-0.8-20040429
<= ghostscript-8.14-20040220 >= ghostscript-8.14-20040429
<= kde-3.2.3-20040406 >= kde-qt-3.2.3-20040429
<= mozilla-1.7rc1-20040423 >= mozilla-1.7rc1-20040429
<= pdflib-5.0.3-20040212 >= pdflib-5.0.3-20040429
<= perl-tk-5.8.4-20040422 >= perl-tk-5.8.4-20040429
<= png-1.2.5-20040207 >= png-1.2.5-20040429
<= qt-3.3.2-20040428 >= qt-3.3.2-20040429
<= rrdtool-1.0.48-20040407 >= rrdtool-1.0.48-20040429
<= tetex-2.0.2-20040207 >= tetex-2.0.2-20040429
<= wx-2.4.2-20040425 >= wx-2.4.2-20040429

OpenPKG 2.0 <= analog-5.32-2.0.0 >= analog-5.32-2.0.1
<= doxygen-1.3.6-2.0.0 >= doxygen-1.3.6-2.0.1
<= ghostscript-8.13-2.0.0 >= ghostscript-8.13-2.0.1
<= mozilla-1.6-2.0.0 >= mozilla-1.6-2.0.1
<= pdflib-5.0.3-2.0.0 >= pdflib-5.0.3-2.0.1
<= perl-tk-5.8.3-2.0.0 >= perl-tk-5.8.3-2.0.1
<= png-1.2.5-2.0.0 >= png-1.2.5-2.0.1
<= qt-3.2.3-2.0.0 >= qt-3.2.3-2.0.1
<= rrdtool-1.0.46-2.0.0 >= rrdtool-1.0.46-2.0.1
<= tetex-2.0.2-2.0.0 >= tetex-2.0.2-2.0.1

OpenPKG 1.3 <= analog-5.32-1.3.0 >= analog-5.32-1.3.1
<= doxygen-1.3.3-1.3.0 >= doxygen-1.3.3-1.3.1
<= ghostscript-8.10-1.3.0 >= ghostscript-8.10-1.3.1
<= pdflib-5.0.1-1.3.0 >= pdflib-5.0.1-1.3.1
<= perl-tk-1.3.0-1.3.0 >= perl-tk-1.3.0-1.3.1
<= png-1.2.5-1.3.0 >= png-1.2.5-1.3.1
<= rrdtool-1.0.45-1.3.0 >= rrdtool-1.0.45-1.3.1
<= tetex-2.0.2-1.3.0 >= tetex-2.0.2-1.3.1

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

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

OpenPKG 1.3 apache autotrace emacs gd gdk-pixbuf gif2png gimp
gnuplot graphviz gtk2 imagemagick imlib latex2html
libwmf netpbm perl-gd php pstoedit webalizer wml xv

Description:
Steve Grubb discovered that the Portable Network Graphics (PNG)
library libpng [1] accesses memory that is out of bounds when creating
an error message. Depending on machine architecture, bounds checking
and other protective measures, this problem could cause the program
to crash if a defective or intentionally prepared PNG image file is
handled by libpng. This can even lead to a Denial of Service (DoS)
situation. The Common Vulnerabilities and Exposures (CVE) project
assigned the id CAN-2004-0421 [2] to the problem.

Please check whether you are affected by running "<prefix>/bin/rpm
-q png" (and similarly for the other affected packages which have
PNG included). If you have the "png" package (or one of the others)
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 [3][4].

Solution:
Select the updated source RPM appropriate for your OpenPKG release
[5][6], fetch it from the OpenPKG FTP service [7][8] or a mirror
location, verify its integrity [9], build a corresponding binary RPM
from it [3] and update your OpenPKG installation by applying the
binary RPM [4]. For the most recent release OpenPKG 2.0, 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.0/UPD
ftp> get png-1.2.5-2.0.1.src.rpm
ftp> bye
$ <prefix>/bin/openpkg rpm -v --checksig png-1.2.5-2.0.1.src.rpm
$ <prefix>/bin/openpkg rpm --rebuild png-1.2.5-2.0.1.src.rpm
$ su -

<prefix>/bin/openpkg rpm -Fvh <prefix>/RPM/PKG/png-1.2.5-2.0.1.*.rpm

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


References:
[1] http://www.libpng.org/pub/png/
[2] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0421
[3] http://www.openpkg.org/tutorial.html#regular-source
[4] http://www.openpkg.org/tutorial.html#regular-binary
[5] ftp://ftp.openpkg.org/release/1.3/UPD/png-1.2.5-1.3.1.src.rpm
[6] ftp://ftp.openpkg.org/release/2.0/UPD/png-1.2.5-2.0.1.src.rpm
[7] ftp://ftp.openpkg.org/release/1.3/UPD/
[8] ftp://ftp.openpkg.org/release/2.0/UPD/
[9] http://www.openpkg.org/security.html#signature


For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG <[email protected]>" (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 <[email protected]>

iD8DBQFAkWdagHWT4GPEy58RAhUzAJ91BK7ra6vUQfzOxYR0tF6OJKD9ZACcDu9K
bQeFjP+LBoyEg6ikl+zNOf4=
=EMRS
-----END PGP SIGNATURE-----


Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html