Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200505-18 ] Net-SNMP: fixproc insecure temporary file creation
Date: Mon, 23 May 2005 20:26:54
Message-Id: 200505232226.55589.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200505-18
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Net-SNMP: fixproc insecure temporary file creation
9 Date: May 23, 2005
10 Bugs: #91792
11 ID: 200505-18
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Net-SNMP creates temporary files in an insecure manner, possibly
19 allowing the execution of arbitrary code.
20
21 Background
22 ==========
23
24 Net-SNMP is a suite of applications used to implement the Simple
25 Network Management Protocol.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 net-analyzer/net-snmp < 5.2.1-r1 >= 5.2.1-r1
34
35 Description
36 ===========
37
38 The fixproc application of Net-SNMP creates temporary files with
39 predictable filenames.
40
41 Impact
42 ======
43
44 A malicious local attacker could exploit a race condition to change the
45 content of the temporary files before they are executed by fixproc,
46 possibly leading to the execution of arbitrary code. A local attacker
47 could also create symbolic links in the temporary files directory,
48 pointing to a valid file somewhere on the filesystem. When fixproc is
49 executed, this would result in the file being overwritten.
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 All Net-SNMP users should upgrade to the latest available version:
60
61 # emerge --sync
62 # emerge --ask --oneshot --verbose ">=net-analyzer/net-snmp-5.2.1-r1"
63
64 Availability
65 ============
66
67 This GLSA and any updates to it are available for viewing at
68 the Gentoo Security Website:
69
70 http://security.gentoo.org/glsa/glsa-200505-18.xml
71
72 Concerns?
73 =========
74
75 Security is a primary focus of Gentoo Linux and ensuring the
76 confidentiality and security of our users machines is of utmost
77 importance to us. Any security concerns should be addressed to
78 security@g.o or alternatively, you may file a bug at
79 http://bugs.gentoo.org.
80
81 License
82 =======
83
84 Copyright 2005 Gentoo Foundation, Inc; referenced text
85 belongs to its owner(s).
86
87 The contents of this document are licensed under the
88 Creative Commons - Attribution / Share Alike license.
89
90 http://creativecommons.org/licenses/by-sa/2.0