blob: e0939e113ad091dff9683e28a92691f328598a6a [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200710-22">
<title>TRAMP: Insecure temporary file creation</title>
The TRAMP package for GNU Emacs insecurely creates temporary files.
<product type="ebuild">tramp</product>
<announced>October 20, 2007</announced>
<revised>December 30, 2007: 02</revised>
<package name="app-emacs/tramp" auto="yes" arch="*">
<unaffected range="ge">2.1.10-r2</unaffected>
<unaffected range="lt">2.1</unaffected>
<vulnerable range="lt">2.1.10-r2</vulnerable>
TRAMP is a remote file editing package for GNU Emacs, a highly
extensible and customizable text editor.
Stefan Monnier discovered that the tramp-make-tramp-temp-file()
function creates temporary files in an insecure manner.
<impact type="normal">
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.
There is no known workaround at this time.
All TRAMP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=app-emacs/tramp-2.1.10-r2&quot;</code>
<uri link="">CVE-2007-5377</uri>
<metadata tag="requester" timestamp="Thu, 11 Oct 2007 21:37:14 +0000">
<metadata tag="submitter" timestamp="Thu, 18 Oct 2007 20:15:33 +0000">
<metadata tag="bugReady" timestamp="Thu, 18 Oct 2007 20:17:00 +0000">