Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 200705-13 ] ImageMagick: Multiple buffer overflows
Date: Mon, 14 May 2007 18:35:06
Message-Id: 200705142011.34640.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200705-13
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: ImageMagick: Multiple buffer overflows
9 Date: May 10, 2007
10 Bugs: #159567, #173186
11 ID: 200705-13
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Multiple integer overflows have been discovered in ImageMagick allowing
19 for the execution of arbitrary code.
20
21 Background
22 ==========
23
24 ImageMagick is a collection of tools allowing various manipulations on
25 image files.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 media-gfx/imagemagick < 6.3.3 >= 6.3.3
34
35 Description
36 ===========
37
38 iDefense Labs has discovered multiple integer overflows in ImageMagick
39 in the functions ReadDCMImage() and ReadXWDImage(), that are used to
40 process DCM and XWD files.
41
42 Impact
43 ======
44
45 An attacker could entice a user to open specially crafted XWD or DCM
46 file, resulting in heap-based buffer overflows and possibly the
47 execution of arbitrary code with the privileges of the user running
48 ImageMagick. Note that this user may be httpd or any other account used
49 by applications relying on the ImageMagick tools to automatically
50 process images.
51
52 Workaround
53 ==========
54
55 There is no known workaround at this time.
56
57 Resolution
58 ==========
59
60 All ImageMagick users should upgrade to the latest version:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.3.3"
64
65 References
66 ==========
67
68 [ 1 ] CVE-2007-1797
69 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1797
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-200705-13.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 http://bugs.gentoo.org.
87
88 License
89 =======
90
91 Copyright 2007 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