Gentoo Archives: gentoo-announce

From: Stefan Cornelius <dercorny@g.o>
To: gentoo-announce@g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200707-06 ] XnView: Stack-based buffer overflow
Date: Wed, 11 Jul 2007 20:14:24
Message-Id: 1184183228.3283.6.camel@localhost.localdomain
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200707-06
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: XnView: Stack-based buffer overflow
9 Date: July 11, 2007
10 Bugs: #175670
11 ID: 200707-06
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 XnView is vulnerable to a stack-based buffer overflow and possible
19 remote code execution when handling XPM image files.
20
21 Background
22 ==========
23
24 XnView is software to view and convert graphics files. XPixMap (XPM) is
25 a simple ascii-based graphics format.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 x11-misc/xnview < 1.70 Vulnerable!
34 -------------------------------------------------------------------
35 # Package 1 only applies to x86 users.
36 -------------------------------------------------------------------
37 NOTE: Certain packages are still vulnerable. Users should migrate
38 to another package if one is available or wait for the
39 existing packages to be marked stable by their
40 architecture maintainers.
41
42 Description
43 ===========
44
45 XnView is vulnerable to a stack-based buffer overflow while processing
46 an XPM file with an overly long section string (greater than 1024
47 bytes).
48
49 Impact
50 ======
51
52 An attacker could entice a user to view a specially crafted XPM file
53 with XnView that could trigger the vulnerability and possibly execute
54 arbitrary code with the rights of the user running XnView.
55
56 Workaround
57 ==========
58
59 There is no known workaround at this time.
60
61 Resolution
62 ==========
63
64 No update appears to be forthcoming from the XnView developer and
65 XnView is proprietary, so the XnView package has been masked in
66 Portage. We recommend that users select an alternate graphics viewer
67 and conversion utility, and unmerge XnView:
68
69 # emerge --unmerge xnview
70
71 References
72 ==========
73
74 [ 1 ] CVE-2007-2194
75 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2194
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-200707-06.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 2007 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

Attachments

File name MIME type
signature.asc application/pgp-signature