[Sec-cert] [RedHat] Schwachstelle in der GD Grafikbibliothek - RHSA-2010:0003-01

WiN Site Security Contacts win-sec-ssc at lists.dfn-cert.de
Di Jan 5 12:29:35 CET 2010


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

Liebe Kolleginnen und Kollegen,

soeben erreichte uns nachfolgendes RedHat Security Advisory. Wir geben
diese Informationen unveraendert an Sie weiter.

CVE-2009-3546 - Buffer Overflow in der Funktion _gdGetColors() der GD
Grafikbibliothek

  In der Funktion _gdGetColors() der GD Grafikbibliothek werden
  bestimmte Werte n der "colorsTotal" Datenstruktur nicht ausreichend
  ueberprueft, so dass ueber die Grenzen eines Arrays hinaus gelesen bzw.
  geschrieben werden kann. Ein Angreifer kann diese Schwachstelle dazu
  ausnutzen, beliebigen Code mit den Rechten des Benutzers der Anwendung
  auszufuehren, welche die Bibliothek verwendet. 
  
  Die Schwachstelle ist aehnlich zu, aber nicht identisch mit CVE-2009-3293.

Betroffen sind die folgenden Software Pakete und Plattformen:

  Paket gd

  RHEL Desktop Workstation (v. 5 client) - i386, x86_64
  Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
  Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x,
  x86_64
  Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
  Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
  Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
  Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

Vom Hersteller werden ueberarbeitete Pakete zur Verfuegung gestellt.

Hersteller Advisory:
  https://rhn.redhat.com/errata/RHSA-2010-0003.html


(c) der deutschen Zusammenfassung bei DFN-CERT Services GmbH; die
Verbreitung, auch auszugsweise, ist nur unter Hinweis auf den Urheber,
DFN-CERT Services GmbH, und nur zu nicht kommerziellen Zwecken
gestattet.

Mit freundlichen Gruessen,
		Klaus Moeller, DFN-CERT

- -- 
Dipl. Inform. Klaus Moeller (Incident Response Team)
Phone: +49 40 808077-555, Fax: +49 40 808077-556

DFN-CERT Services GmbH, https://www.dfn-cert.de,  Phone  +49 40 808077-555
Sitz / Register: Hamburg, AG Hamburg, HRB 88805,  Ust-IdNr.:  DE 232129737
Sachsenstrase 5, 20097 Hamburg/Germany, CEO: Dr. Klaus-Peter Kossakowski

17. DFN Workshop    "Sicherheit in vernetzten Systemen"    09./10.02.2010
Informationen unter https://www.dfn-cert.de/veranstaltungen/workshop.html

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

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: gd security update
Advisory ID:       RHSA-2010:0003-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0003.html
Issue date:        2010-01-04
CVE Names:         CVE-2009-3546 
=====================================================================

1. Summary:

Updated gd packages that fix a security issue are now available for Red Hat
Enterprise Linux 4 and 5.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

RHEL Desktop Workstation (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64
Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Description:

The gd packages provide a graphics library used for the dynamic creation of
images, such as PNG and JPEG.

A missing input sanitization flaw, leading to a buffer overflow, was
discovered in the gd library. A specially-crafted GD image file could cause
an application using the gd library to crash or, possibly, execute
arbitrary code when opened. (CVE-2009-3546)

Users of gd should upgrade to these updated packages, which contain a
backported patch to resolve this issue.

4. Solution:

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

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

5. Bugs fixed (http://bugzilla.redhat.com/):

529213 - CVE-2009-3546 gd: insufficient input validation in _gdGetColors()

6. Package List:

Red Hat Enterprise Linux AS version 4:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/gd-2.0.28-5.4E.el4_8.1.src.rpm

i386:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-devel-2.0.28-5.4E.el4_8.1.i386.rpm
gd-progs-2.0.28-5.4E.el4_8.1.i386.rpm

ia64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.ia64.rpm

ppc:
gd-2.0.28-5.4E.el4_8.1.ppc.rpm
gd-2.0.28-5.4E.el4_8.1.ppc64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.ppc.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.ppc64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.ppc.rpm
gd-progs-2.0.28-5.4E.el4_8.1.ppc.rpm

s390:
gd-2.0.28-5.4E.el4_8.1.s390.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.s390.rpm
gd-devel-2.0.28-5.4E.el4_8.1.s390.rpm
gd-progs-2.0.28-5.4E.el4_8.1.s390.rpm

s390x:
gd-2.0.28-5.4E.el4_8.1.s390.rpm
gd-2.0.28-5.4E.el4_8.1.s390x.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.s390.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.s390x.rpm
gd-devel-2.0.28-5.4E.el4_8.1.s390x.rpm
gd-progs-2.0.28-5.4E.el4_8.1.s390x.rpm

x86_64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

Source:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/gd-2.0.28-5.4E.el4_8.1.src.rpm

i386:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-devel-2.0.28-5.4E.el4_8.1.i386.rpm
gd-progs-2.0.28-5.4E.el4_8.1.i386.rpm

x86_64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/gd-2.0.28-5.4E.el4_8.1.src.rpm

i386:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-devel-2.0.28-5.4E.el4_8.1.i386.rpm
gd-progs-2.0.28-5.4E.el4_8.1.i386.rpm

ia64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.ia64.rpm

x86_64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

Source:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/gd-2.0.28-5.4E.el4_8.1.src.rpm

i386:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-devel-2.0.28-5.4E.el4_8.1.i386.rpm
gd-progs-2.0.28-5.4E.el4_8.1.i386.rpm

ia64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.ia64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.ia64.rpm

x86_64:
gd-2.0.28-5.4E.el4_8.1.i386.rpm
gd-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.i386.rpm
gd-debuginfo-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-devel-2.0.28-5.4E.el4_8.1.x86_64.rpm
gd-progs-2.0.28-5.4E.el4_8.1.x86_64.rpm

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/gd-2.0.33-9.4.el5_4.2.src.rpm

i386:
gd-2.0.33-9.4.el5_4.2.i386.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.i386.rpm
gd-progs-2.0.33-9.4.el5_4.2.i386.rpm

x86_64:
gd-2.0.33-9.4.el5_4.2.i386.rpm
gd-2.0.33-9.4.el5_4.2.x86_64.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.i386.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.x86_64.rpm
gd-progs-2.0.33-9.4.el5_4.2.x86_64.rpm

RHEL Desktop Workstation (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/gd-2.0.33-9.4.el5_4.2.src.rpm

i386:
gd-debuginfo-2.0.33-9.4.el5_4.2.i386.rpm
gd-devel-2.0.33-9.4.el5_4.2.i386.rpm

x86_64:
gd-debuginfo-2.0.33-9.4.el5_4.2.i386.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.x86_64.rpm
gd-devel-2.0.33-9.4.el5_4.2.i386.rpm
gd-devel-2.0.33-9.4.el5_4.2.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/gd-2.0.33-9.4.el5_4.2.src.rpm

i386:
gd-2.0.33-9.4.el5_4.2.i386.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.i386.rpm
gd-devel-2.0.33-9.4.el5_4.2.i386.rpm
gd-progs-2.0.33-9.4.el5_4.2.i386.rpm

ia64:
gd-2.0.33-9.4.el5_4.2.ia64.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.ia64.rpm
gd-devel-2.0.33-9.4.el5_4.2.ia64.rpm
gd-progs-2.0.33-9.4.el5_4.2.ia64.rpm

ppc:
gd-2.0.33-9.4.el5_4.2.ppc.rpm
gd-2.0.33-9.4.el5_4.2.ppc64.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.ppc.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.ppc64.rpm
gd-devel-2.0.33-9.4.el5_4.2.ppc.rpm
gd-devel-2.0.33-9.4.el5_4.2.ppc64.rpm
gd-progs-2.0.33-9.4.el5_4.2.ppc.rpm

s390x:
gd-2.0.33-9.4.el5_4.2.s390.rpm
gd-2.0.33-9.4.el5_4.2.s390x.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.s390.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.s390x.rpm
gd-devel-2.0.33-9.4.el5_4.2.s390.rpm
gd-devel-2.0.33-9.4.el5_4.2.s390x.rpm
gd-progs-2.0.33-9.4.el5_4.2.s390x.rpm

x86_64:
gd-2.0.33-9.4.el5_4.2.i386.rpm
gd-2.0.33-9.4.el5_4.2.x86_64.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.i386.rpm
gd-debuginfo-2.0.33-9.4.el5_4.2.x86_64.rpm
gd-devel-2.0.33-9.4.el5_4.2.i386.rpm
gd-devel-2.0.33-9.4.el5_4.2.x86_64.rpm
gd-progs-2.0.33-9.4.el5_4.2.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2009-3546.html
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert at redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFLQjOVXlSAg2UNWIIRAmxgAKCv/qplg/WUwM4U0Yp6QBOw9DLqywCePezv
mY9Ccbe8zJ11pC1yekIOHgk=
=QPQo
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFLQyKfWmhIvjFb90URAv9YAJ9CvG/iU+5k904uP6MktoWaWFnZ6wCeJYdL
lLAfdvSTqjxj0ZLy0xJIjV4=
=nBss
-----END PGP SIGNATURE-----



Mehr Informationen über die Mailingliste Sec-cert