1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200710-22 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: TRAMP: Insecure temporary file creation |
9 |
Date: October 20, 2007 |
10 |
Bugs: #194713 |
11 |
ID: 200710-22 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
The TRAMP package for GNU Emacs insecurely creates temporary files. |
19 |
|
20 |
Background |
21 |
========== |
22 |
|
23 |
TRAMP is a remote file editing package for GNU Emacs, a highly |
24 |
extensible and customizable text editor. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 app-emacs/tramp < 2.1.10-r2 >= 2.1.10-r2 |
33 |
*< 2.1 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Stefan Monnier discovered that the tramp-make-tramp-temp-file() |
39 |
function creates temporary files in an insecure manner. |
40 |
|
41 |
Impact |
42 |
====== |
43 |
|
44 |
A local attacker could create symbolic links in the directory where the |
45 |
temporary files are written, pointing to a valid file somewhere on the |
46 |
filesystem that is writable by the user running TRAMP. When TRAMP |
47 |
writes the temporary file, the target valid file would then be |
48 |
overwritten with the contents of the TRAMP temporary file. |
49 |
|
50 |
Workaround |
51 |
========== |
52 |
|
53 |
There is no known workaround at this time. |
54 |
|
55 |
Resolution |
56 |
========== |
57 |
|
58 |
All TRAMP users should upgrade to the latest version: |
59 |
|
60 |
# emerge --sync |
61 |
# emerge --ask --oneshot --verbose ">=app-emacs/tramp-2.1.10-r2" |
62 |
|
63 |
References |
64 |
========== |
65 |
|
66 |
[ 1 ] CVE-2007-5377 |
67 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5377 |
68 |
|
69 |
Availability |
70 |
============ |
71 |
|
72 |
This GLSA and any updates to it are available for viewing at |
73 |
the Gentoo Security Website: |
74 |
|
75 |
http://security.gentoo.org/glsa/glsa-200710-22.xml |
76 |
|
77 |
Concerns? |
78 |
========= |
79 |
|
80 |
Security is a primary focus of Gentoo Linux and ensuring the |
81 |
confidentiality and security of our users machines is of utmost |
82 |
importance to us. Any security concerns should be addressed to |
83 |
security@g.o or alternatively, you may file a bug at |
84 |
http://bugs.gentoo.org. |
85 |
|
86 |
License |
87 |
======= |
88 |
|
89 |
Copyright 2007 Gentoo Foundation, Inc; referenced text |
90 |
belongs to its owner(s). |
91 |
|
92 |
The contents of this document are licensed under the |
93 |
Creative Commons - Attribution / Share Alike license. |
94 |
|
95 |
http://creativecommons.org/licenses/by-sa/2.5 |