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

This script is Copyright (C) 2008-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200802-01
(SDL_image: Two buffer overflow vulnerabilities)

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.

See also :

http://secunia.com/advisories/28640/
http://www.gentoo.org/security/en/glsa/glsa-200802-01.xml

Solution :

All SDL_image users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-libs/sdl-image-1.2.6-r1'

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 30243 (gentoo_GLSA-200802-01.nasl)

Bugtraq ID:

CVE ID: CVE-2007-6697
CVE-2008-0544