1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 201006-16 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: GD: User-assisted execution of arbitrary code |
9 |
Date: June 03, 2010 |
10 |
Bugs: #292130 |
11 |
ID: 201006-16 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
The GD library is prone to a buffer overflow vulnerability. |
19 |
|
20 |
Background |
21 |
========== |
22 |
|
23 |
GD is a graphic library for fast image creation. |
24 |
|
25 |
Affected packages |
26 |
================= |
27 |
|
28 |
------------------------------------------------------------------- |
29 |
Package / Vulnerable / Unaffected |
30 |
------------------------------------------------------------------- |
31 |
1 media-libs/gd < 2.0.35-r1 >= 2.0.35-r1 |
32 |
|
33 |
Description |
34 |
=========== |
35 |
|
36 |
Tomas Hoger reported that the _gdGetColors() function in gd_gd.c does |
37 |
not properly verify the colorsTotal struct member, possibly leading to |
38 |
a buffer overflow. |
39 |
|
40 |
Impact |
41 |
====== |
42 |
|
43 |
A remote attacker could entice a user to open a specially crafted image |
44 |
file with a program using the GD library, possibly resulting in the |
45 |
remote execution of arbitrary code with the privileges of the user |
46 |
running the application, or a Denial of Service condition. |
47 |
|
48 |
Workaround |
49 |
========== |
50 |
|
51 |
There is no known workaround at this time. |
52 |
|
53 |
Resolution |
54 |
========== |
55 |
|
56 |
All GD users should upgrade to the latest version: |
57 |
|
58 |
# emerge --sync |
59 |
# emerge --ask --oneshot --verbose ">=media-libs/gd-2.0.35-r1" |
60 |
|
61 |
NOTE: This is a legacy GLSA. Updates for all affected architectures are |
62 |
available since November 21, 2009. It is likely that your system is |
63 |
already no longer affected by this issue. |
64 |
|
65 |
References |
66 |
========== |
67 |
|
68 |
[ 1 ] CVE-2009-3546 |
69 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3546 |
70 |
|
71 |
Availability |
72 |
============ |
73 |
|
74 |
This GLSA and any updates to it are available for viewing at |
75 |
the Gentoo Security Website: |
76 |
|
77 |
http://security.gentoo.org/glsa/glsa-201006-16.xml |
78 |
|
79 |
Concerns? |
80 |
========= |
81 |
|
82 |
Security is a primary focus of Gentoo Linux and ensuring the |
83 |
confidentiality and security of our users machines is of utmost |
84 |
importance to us. Any security concerns should be addressed to |
85 |
security@g.o or alternatively, you may file a bug at |
86 |
https://bugs.gentoo.org. |
87 |
|
88 |
License |
89 |
======= |
90 |
|
91 |
Copyright 2010 Gentoo Foundation, Inc; referenced text |
92 |
belongs to its owner(s). |
93 |
|
94 |
The contents of this document are licensed under the |
95 |
Creative Commons - Attribution / Share Alike license. |
96 |
|
97 |
http://creativecommons.org/licenses/by-sa/2.5 |