The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200802-01 ] SDL_image: Two buffer overflow vulnerabilities


<< Previous INDEX Search src / Print Next >>
Date: Wed, 6 Feb 2008 22:56:00 +0100
From: Raphael Marichez <falco@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200802-01 ] SDL_image: Two buffer overflow vulnerabilities
Message-ID: <20080206215600.GA1682@falco.falcal.net.>
Mail-Followup-To: [email protected],
        [email protected], [email protected],
        [email protected]
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/"
Content-Disposition: inline
X-Web: http://falco.bz/
X-GPG-fingerprint: 04EB 153A 6B28 3E80 87A9  9B4F A77C 4BDE 021C 5BD2
X-GPG-Key: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x021C5BD2
Organization: Gentoo Linux Security Team
User-Agent: Mutt/1.5.16 (2007-06-09)
X-Virus-Scanned: antivirus-gw at tyumen.ru


--pWyiEgJYm5f9v55/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200802-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


  Severity: Normal
     Title: SDL_image: Two buffer overflow vulnerabilities
      Date: February 06, 2008
      Bugs: #207933
        ID: 200802-01

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


Synopsis
========

Two boundary errors have been identified in SDL_image allowing for the
remote execution of arbitrary code or the crash of the application
using the library.

Background
==========

SDL_image is an image file library that loads images as SDL surfaces,
and supports various formats like BMP, GIF, JPEG, LBM, PCX, PNG, PNM,
TGA, TIFF, XCF, XPM, and XV.

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

    -------------------------------------------------------------------
     Package               /  Vulnerable  /                 Unaffected
    -------------------------------------------------------------------
  1  media-libs/sdl-image     < 1.2.6-r1                   >= 1.2.6-r1


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

The LWZReadByte() function in file IMG_gif.c and the IMG_LoadLBM_RW()
function in file IMG_lbm.c each contain a boundary error that can be
triggered to cause a static buffer overflow and a heap-based buffer
overflow. The first boundary error comes from some old vulnerable GD
PHP code (CVE-2006-4484).

Impact
======

A remote attacker can make an application using the SDL_image library
to process a specially crafted GIF file or IFF ILBM file that will
trigger a buffer overflow, resulting in the execution of arbitrary code
with the permissions of the application or the application crash.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All SDL_image users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/sdl-image-1.2.6-r1"


References
==========

  [ 1 ] SA28640
        http://secunia.com/advisories/28640/
  [ 2 ] CVE-2007-6697
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6697
  [ 3 ] CVE-2008-0544
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0544

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

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

  http://security.gentoo.org/glsa/glsa-200802-01.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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 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

--pWyiEgJYm5f9v55/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iQEVAwUBR6os8DvRww8BFPxFAQLVOQf+P72EgJH24l4yLT6ls6K0jvikPdyecKWi
OlJGy9tubIC1WvQZ+1hTBJmjxYZUd3XSXaS3s9IHzyw3QryOc7akfWr6G8ivTcE3
R0UsxwEgS92svKC9m7vqhCaNKPvdNThWBs0nG2m4xLMhDCtWT4Nid5WRRVxXOY92
/B0JF0vCHlDquKQZTMi25Nc35QDKAjiUVJlPmPFlVZmiMWSR1O//qvJvBBw5ZlTn
DnXI8hL84TqO+ATK/PALHSXqvWLzO1gztaEBA+NP19TjCHBSRpgSxyckWXfnAwuC
rZTEkSf/PlxqOx3GrZVc/OsE6tb6rz73NQ481uUyAOl6e3JGnbPUJg==
=mbOw
-----END PGP SIGNATURE-----

--pWyiEgJYm5f9v55/--


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру