Gentoo Archives: gentoo-announce

From: Raphael Marichez <falco@g.o>
To: gentoo-announce@g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200802-01 ] SDL_image: Two buffer overflow vulnerabilities
Date: Wed, 06 Feb 2008 21:59:52
Message-Id: 20080206215600.GA1682@falco.falcal.net
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200802-01
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: SDL_image: Two buffer overflow vulnerabilities
9 Date: February 06, 2008
10 Bugs: #207933
11 ID: 200802-01
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Two boundary errors have been identified in SDL_image allowing for the
19 remote execution of arbitrary code or the crash of the application
20 using the library.
21
22 Background
23 ==========
24
25 SDL_image is an image file library that loads images as SDL surfaces,
26 and supports various formats like BMP, GIF, JPEG, LBM, PCX, PNG, PNM,
27 TGA, TIFF, XCF, XPM, and XV.
28
29 Affected packages
30 =================
31
32 -------------------------------------------------------------------
33 Package / Vulnerable / Unaffected
34 -------------------------------------------------------------------
35 1 media-libs/sdl-image < 1.2.6-r1 >= 1.2.6-r1
36
37 Description
38 ===========
39
40 The LWZReadByte() function in file IMG_gif.c and the IMG_LoadLBM_RW()
41 function in file IMG_lbm.c each contain a boundary error that can be
42 triggered to cause a static buffer overflow and a heap-based buffer
43 overflow. The first boundary error comes from some old vulnerable GD
44 PHP code (CVE-2006-4484).
45
46 Impact
47 ======
48
49 A remote attacker can make an application using the SDL_image library
50 to process a specially crafted GIF file or IFF ILBM file that will
51 trigger a buffer overflow, resulting in the execution of arbitrary code
52 with the permissions of the application or the application crash.
53
54 Workaround
55 ==========
56
57 There is no known workaround at this time.
58
59 Resolution
60 ==========
61
62 All SDL_image users should upgrade to the latest version:
63
64 # emerge --sync
65 # emerge --ask --oneshot --verbose ">=media-libs/sdl-image-1.2.6-r1"
66
67 References
68 ==========
69
70 [ 1 ] SA28640
71 http://secunia.com/advisories/28640/
72 [ 2 ] CVE-2007-6697
73 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6697
74 [ 3 ] CVE-2008-0544
75 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0544
76
77 Availability
78 ============
79
80 This GLSA and any updates to it are available for viewing at
81 the Gentoo Security Website:
82
83 http://security.gentoo.org/glsa/glsa-200802-01.xml
84
85 Concerns?
86 =========
87
88 Security is a primary focus of Gentoo Linux and ensuring the
89 confidentiality and security of our users machines is of utmost
90 importance to us. Any security concerns should be addressed to
91 security@g.o or alternatively, you may file a bug at
92 http://bugs.gentoo.org.
93
94 License
95 =======
96
97 Copyright 2008 Gentoo Foundation, Inc; referenced text
98 belongs to its owner(s).
99
100 The contents of this document are licensed under the
101 Creative Commons - Attribution / Share Alike license.
102
103 http://creativecommons.org/licenses/by-sa/2.5