1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200411-08 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: GD: Integer overflow |
9 |
Date: November 03, 2004 |
10 |
Bugs: #69070 |
11 |
ID: 200411-08 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
The PNG image decoding routines in the GD library contain an integer |
19 |
overflow that may allow execution of arbitrary code with the rights of |
20 |
the program decoding a malicious PNG image. |
21 |
|
22 |
Background |
23 |
========== |
24 |
|
25 |
The GD graphics library is an open source library which allows |
26 |
programmers to easily generate PNG, JPEG, GIF and WBMP images from many |
27 |
different programming languages. |
28 |
|
29 |
Affected packages |
30 |
================= |
31 |
|
32 |
------------------------------------------------------------------- |
33 |
Package / Vulnerable / Unaffected |
34 |
------------------------------------------------------------------- |
35 |
1 media-libs/gd < 2.0.32 >= 2.0.32 |
36 |
|
37 |
Description |
38 |
=========== |
39 |
|
40 |
infamous41md found an integer overflow in the memory allocation |
41 |
procedure of the GD routine that handles loading PNG image files. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
A remote attacker could entice a user to load a carefully crafted PNG |
47 |
image file in a GD-powered application, or send a PNG image to a web |
48 |
application which uses GD PNG decoding functions. This could |
49 |
potentially lead to execution of arbitrary code with the rights of the |
50 |
program loading the image. |
51 |
|
52 |
Workaround |
53 |
========== |
54 |
|
55 |
There is no known workaround at this time. |
56 |
|
57 |
Resolution |
58 |
========== |
59 |
|
60 |
All GD users should upgrade to the latest version: |
61 |
|
62 |
# emerge --sync |
63 |
# emerge --ask --oneshot --verbose ">=media-libs/gd-2.0.32" |
64 |
|
65 |
References |
66 |
========== |
67 |
|
68 |
[ 1 ] Original BugTraq advisory |
69 |
http://www.securityfocus.com/archive/1/379382 |
70 |
[ 2 ] CAN-2004-0990 |
71 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0990 |
72 |
|
73 |
Availability |
74 |
============ |
75 |
|
76 |
This GLSA and any updates to it are available for viewing at |
77 |
the Gentoo Security Website: |
78 |
|
79 |
http://security.gentoo.org/glsa/glsa-200411-08.xml |
80 |
|
81 |
Concerns? |
82 |
========= |
83 |
|
84 |
Security is a primary focus of Gentoo Linux and ensuring the |
85 |
confidentiality and security of our users machines is of utmost |
86 |
importance to us. Any security concerns should be addressed to |
87 |
security@g.o or alternatively, you may file a bug at |
88 |
http://bugs.gentoo.org. |
89 |
|
90 |
License |
91 |
======= |
92 |
|
93 |
Copyright 2004 Gentoo Foundation, Inc; referenced text |
94 |
belongs to its owner(s). |
95 |
|
96 |
The contents of this document are licensed under the |
97 |
Creative Commons - Attribution / Share Alike license. |
98 |
|
99 |
http://creativecommons.org/licenses/by-sa/1.0 |