- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200710-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: TRAMP: Insecure temporary file creation
      Date: October 20, 2007
      Bugs: #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          /   Vulnerable   /                    Unaffected
    -------------------------------------------------------------------
  1  app-emacs/tramp      < 2.1.10-r2                     >= 2.1.10-r2
                                                                *< 2.1

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:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-emacs/tramp-2.1.10-r2"

References
=========
  [ 1 ] CVE-2007-5377
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5377

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  https://security.gentoo.org/glsa/200710-22

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org/.

License
======
Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5/

Gentoo: GLSA-200710-22: TRAMP: Insecure temporary file creation

The TRAMP package for GNU Emacs insecurely creates temporary files.

Summary

Gentoo Linux Security Advisory GLSA 200710-22 https://security.gentoo.org/ Severity: Normal Title: TRAMP: Insecure temporary file creation Date: October 20, 2007 Bugs: #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 / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-emacs/tramp < 2.1.10-r2 >= 2.1.10-r2 *< 2.1
========== 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:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-emacs/tramp-2.1.10-r2"
References ========= [ 1 ] CVE-2007-5377 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5377
Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
https://security.gentoo.org/glsa/200710-22
Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org/.
License ====== Copyright 2007 Gentoo Foundation, Inc; referenced text belongs to its owner(s).
The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5/

Resolution

References

Availability

Concerns

Severity

Synopsis

Background

Affected Packages

Impact

Workaround

Related News