PDA

Bekijk Volledige Versie : [ GLSA 200411-08 ] GD: Integer overflow



Thierry Carrez
04/11/04, 23:05
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAD21F5385B3D4F4BA3C1FDE2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200411-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: GD: Integer overflow
Date: November 03, 2004
Bugs: #69070
ID: 200411-08

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

Synopsis
========

The PNG image decoding routines in the GD library contain an integer
overflow that may allow execution of arbitrary code with the rights of
the program decoding a malicious PNG image.

Background
==========

The GD graphics library is an open source library which allows
programmers to easily generate PNG, JPEG, GIF and WBMP images from many
different programming languages.

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

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

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

infamous41md found an integer overflow in the memory allocation
procedure of the GD routine that handles loading PNG image files.

Impact
======

A remote attacker could entice a user to load a carefully crafted PNG
image file in a GD-powered application, or send a PNG image to a web
application which uses GD PNG decoding functions. This could
potentially lead to execution of arbitrary code with the rights of the
program loading the image.

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.32"

References
==========

[ 1 ] Original BugTraq advisory
http://www.securityfocus.com/archive/1/379382
[ 2 ] CAN-2004-0990
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0990

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

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

http://security.gentoo.org/glsa/glsa-200411-08.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
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 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/1.0


--------------enigAD21F5385B3D4F4BA3C1FDE2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBiU/qvcL1obalX08RAt4GAJ0T6j99iOMP0qSofJM0IZBu3MMqVACfe xFT
I7SXDlW1O0cvG1GNYBTrnDc=
=s1lm
-----END PGP SIGNATURE-----

--------------enigAD21F5385B3D4F4BA3C1FDE2--