Gentoo Archives: gentoo-announce

From: Luke Macken <lewk@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××.com, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200410-10 ] gettext: Insecure temporary file handling
Date: Sun, 10 Oct 2004 22:33:39
Message-Id: 1097447525.26562.13.camel@tomservo.rh.rit.edu
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200410-10
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Low
8 Title: gettext: Insecure temporary file handling
9 Date: October 10, 2004
10 Bugs: #66355
11 ID: 200410-10
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 The gettext utility is vulnerable to symlink attacks, potentially
19 allowing a local user to overwrite or change permissions on arbitrary
20 files with the rights of the user running gettext, which could be the
21 root user.
22
23 Background
24 ==========
25
26 gettext is a set of utilities for the GNU Translation Project which
27 provides a set of tools and documentation to help produce multi-lingual
28 messages in programs.
29
30 Affected packages
31 =================
32
33 -------------------------------------------------------------------
34 Package / Vulnerable / Unaffected
35 -------------------------------------------------------------------
36 1 sys-devel/gettext < 0.12.1-r2 >= 0.12.1-r2
37
38 Description
39 ===========
40
41 gettext insecurely creates temporary files in world-writeable
42 directories with predictable names.
43
44 Impact
45 ======
46
47 A local attacker could create symbolic links in the temporary files
48 directory, pointing to a valid file somewhere on the filesystem. When
49 gettext is called, this would result in file access with the rights of
50 the user running the utility, which could be the root user.
51
52 Workaround
53 ==========
54
55 There is no known workaround at this time.
56
57 Resolution
58 ==========
59
60 All gettext users should upgrade to the latest version:
61
62 # emerge sync
63
64 # emerge -pv ">=sys-devel/gettext-0.12.1-r2"
65 # emerge ">=sys-devel/gettext-0.12.1.-r2"
66
67 References
68 ==========
69
70 [ 1 ] BugTraq Advisory
71 http://www.securityfocus.com/advisories/7263
72
73 Availability
74 ============
75
76 This GLSA and any updates to it are available for viewing at
77 the Gentoo Security Website:
78
79 http://security.gentoo.org/glsa/glsa-200410-10.xml
80
81 Concerns?
82 =========
83
84 Security is a primary focus of Gentoo Linux and ensuring the
85 confidentiality and security of our users machines is of utmost
86 importance to us. Any security concerns should be addressed to
87 security@g.o or alternatively, you may file a bug at
88 http://bugs.gentoo.org.
89
90 License
91 =======
92
93 Copyright 2004 Gentoo Foundation, Inc; referenced text
94 belongs to its owner(s).
95
96 The contents of this document are licensed under the
97 Creative Commons - Attribution / Share Alike license.
98
99 http://creativecommons.org/licenses/by-sa/1.0

Attachments

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