Gentoo Archives: gentoo-announce

From: Alex Legler <a3li@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200909-11 ] GCC-XML: Insecure temporary file usage
Date: Wed, 09 Sep 2009 14:14:05
Message-Id: 20090909152336.48860b4d@neon
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200909-11
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: GCC-XML: Insecure temporary file usage
9 Date: September 09, 2009
10 Bugs: #245765
11 ID: 200909-11
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An insecure temporary file usage has been reported in GCC-XML allowing
19 for symlink attacks.
20
21 Background
22 ==========
23
24 GCC-XML is an XML output extension to the C++ front-end of GCC.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-cpp/gccxml < 0.9.0_pre20090516 >= 0.9.0_pre20090516
33
34 Description
35 ===========
36
37 Dmitry E. Oboukhov reported that find_flags in GCC-XML does not handle
38 "/tmp/*.cxx" temporary files securely.
39
40 Impact
41 ======
42
43 A local attacker could perform symlink attacks to overwrite arbitrary
44 files with the privileges of the user running the application.
45
46 Workaround
47 ==========
48
49 There is no known workaround at this time.
50
51 Resolution
52 ==========
53
54 All GCC-XML users should upgrade to the latest version:
55
56 # emerge --sync
57 # emerge --ask --oneshot --verbose =dev-cpp/gccxml-0.9.0_pre20090516
58
59 References
60 ==========
61
62 [ 1 ] CVE-2008-4957
63 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4957
64
65 Availability
66 ============
67
68 This GLSA and any updates to it are available for viewing at
69 the Gentoo Security Website:
70
71 http://security.gentoo.org/glsa/glsa-200909-11.xml
72
73 Concerns?
74 =========
75
76 Security is a primary focus of Gentoo Linux and ensuring the
77 confidentiality and security of our users machines is of utmost
78 importance to us. Any security concerns should be addressed to
79 security@g.o or alternatively, you may file a bug at
80 https://bugs.gentoo.org.
81
82 License
83 =======
84
85 Copyright 2009 Gentoo Foundation, Inc; referenced text
86 belongs to its owner(s).
87
88 The contents of this document are licensed under the
89 Creative Commons - Attribution / Share Alike license.
90
91 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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