OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[ GLSA 200708-05 ] GD: Multiple vulnerabilities

From: Raphael Marichez (falcogentoo.org)
Date: Thu Aug 09 2007 - 17:21:06 CDT


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200708-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: GD: Multiple vulnerabilities
      Date: August 09, 2007
      Bugs: #179154
        ID: 200708-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple vulnerabilities have been discovered in GD, allowing for the
execution of arbitrary code.

Background
==========

GD is a graphic library for fast image creation.

Affected packages
=================

    -------------------------------------------------------------------
     Package / Vulnerable / Unaffected
    -------------------------------------------------------------------
  1 media-libs/gd < 2.0.35 >= 2.0.35

Description
===========

Xavier Roche discovered an infinite loop in the gdPngReadData()
function when processing a truncated PNG file (CVE-2007-2756). An
integer overflow has been discovered in the gdImageCreateTrueColor()
function (CVE-2007-3472). An error has been discovered in the function
gdImageCreateXbm() function (CVE-2007-3473). Unspecified
vulnerabilities have been discovered in the GIF reader (CVE-2007-3474).
An error has been discovered when processing a GIF image that has no
global color map (CVE-2007-3475). An array index error has been
discovered in the file gd_gif_in.c when processing images with an
invalid color index (CVE-2007-3476). An error has been discovered in
the imagearc() and imagefilledarc() functions when processing overly
large angle values (CVE-2007-3477). A race condition has been
discovered in the gdImageStringFTEx() function (CVE-2007-3478).

Impact
======

A remote attacker could exploit one of these vulnerabilities to cause a
Denial of Service or possibly execute arbitrary code with the
privileges of the user running GD.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GD users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/gd-2.0.35"

References
==========

  [ 1 ] CVE-2007-2756
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2756
  [ 2 ] CVE-2007-3472
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3472
  [ 3 ] CVE-2007-3473
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3473
  [ 4 ] CVE-2007-3474
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3474
  [ 5 ] CVE-2007-3475
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3475
  [ 6 ] CVE-2007-3476
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3476
  [ 7 ] CVE-2007-3477
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3477
  [ 8 ] CVE-2007-3478
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3478

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200708-05.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
securitygentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iQEVAwUBRruTUjvRww8BFPxFAQILGggAhqBkAwyphakmsRiS2bp0dU6Y9TMOdjW6
6yPDGivkgjoSA20a8kZj1n2Hu7cvXZqPCPQnKTRTzya5J/ZEYuZ/+pjDK3vVrgTu
IBTp2JMaagi4fBqLj1uzcNAN/9ev7AxXtj2U5RI900mtigViIHHyrPum9aujhimE
Glfhpfnc/GFAvocLCauC5jlSbqjs10O4H2G0KxfKI6ym/TEIUvcwcSleuMmwaP2r
lXOHDU6EBanSXzf5GPaRuNMY12KBgoPXe0/yp0KgRuC9PNZ8dopgGkjBvDglGdQW
nDJBTOCY7Dg/bfa8Q6H/4MCcUtGyI+HOA9lFVwDG9U60u4SX6Qa6og==
=JbFK
-----END PGP SIGNATURE-----