Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200710-22 ] TRAMP: Insecure temporary file creation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Sat Oct 20, 2007 10:26 pm    Post subject: [ GLSA 200710-22 ] TRAMP: Insecure temporary file creation Reply with quote

Gentoo Linux Security Advisory

Title: TRAMP: Insecure temporary file creation (GLSA 200710-22)
Severity: normal
Exploitable: local
Date: October 20, 2007
Updated: December 30, 2007
Bug(s): #194713
ID: 200710-22

Synopsis


The TRAMP package for GNU Emacs insecurely creates temporary files.


Background


TRAMP is a remote file editing package for GNU Emacs, a highly
extensible and customizable text editor.


Affected Packages

Package: app-emacs/tramp
Vulnerable: < 2.1.10-r2
Unaffected: >= 2.1.10-r2
Unaffected: < 2.1
Architectures: All supported architectures


Description


Stefan Monnier discovered that the tramp-make-tramp-temp-file()
function creates temporary files in an insecure manner.


Impact


A local attacker could create symbolic links in the directory where the
temporary files are written, pointing to a valid file somewhere on the
filesystem that is writable by the user running TRAMP. When TRAMP
writes the temporary file, the target valid file would then be
overwritten with the contents of the TRAMP temporary file.


Workaround


There is no known workaround at this time.


Resolution


All TRAMP users should upgrade to the latest version:
Code:
# emerge --sync
    # emerge --ask --oneshot --verbose ">=app-emacs/tramp-2.1.10-r2"


References

CVE-2007-5377


Last edited by GLSA on Sat Jan 29, 2011 4:25 am; edited 3 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum