Gentoo Archives: gentoo-announce

From: Robert Buchholz <rbu@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200902-03 ] Valgrind: Untrusted search path
Date: Thu, 12 Feb 2009 21:18:36
Message-Id: 200902122210.31568.rbu@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200902-03
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: Valgrind: Untrusted search path
9 Date: February 12, 2009
10 Bugs: #245317
11 ID: 200902-03
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 An untrusted search path vulnerability in Valgrind might result in the
19 execution of arbitrary code.
20
21 Background
22 ==========
23
24 Valgrind is an open-source memory debugger.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 dev-util/valgrind < 3.4.0 >= 3.4.0
33
34 Description
35 ===========
36
37 Tavis Ormandy reported that Valgrind loads a .valgrindrc file in the
38 current working directory, executing commands specified there.
39
40 Impact
41 ======
42
43 A local attacker could prepare a specially crafted .valgrindrc file and
44 entice a user to run Valgrind from the directory containing that file,
45 resulting in the execution of arbitrary code with the privileges of the
46 user running Valgrind.
47
48 Workaround
49 ==========
50
51 Do not run "valgrind" from untrusted working directories.
52
53 Resolution
54 ==========
55
56 All Valgrind users should upgrade to the latest version:
57
58 # emerge --sync
59 # emerge --ask --oneshot --verbose ">=dev-util/valgrind-3.4.0"
60
61 References
62 ==========
63
64 [ 1 ] CVE-2008-4865
65 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4865
66
67 Availability
68 ============
69
70 This GLSA and any updates to it are available for viewing at
71 the Gentoo Security Website:
72
73 http://security.gentoo.org/glsa/glsa-200902-03.xml
74
75 Concerns?
76 =========
77
78 Security is a primary focus of Gentoo Linux and ensuring the
79 confidentiality and security of our users machines is of utmost
80 importance to us. Any security concerns should be addressed to
81 security@g.o or alternatively, you may file a bug at
82 http://bugs.gentoo.org.
83
84 License
85 =======
86
87 Copyright 2009 Gentoo Foundation, Inc; referenced text
88 belongs to its owner(s).
89
90 The contents of this document are licensed under the
91 Creative Commons - Attribution / Share Alike license.
92
93 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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