- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200903-35
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
     Title: Muttprint: Insecure temporary file usage
      Date: March 23, 2009
      Bugs: #250554
        ID: 200903-35

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An insecure temporary file usage in Muttprint allows for symlink
attacks.

Background
==========

Muttprint formats the output of mail clients to a good-looking printing
using LaTeX.

Affected packages
=================

-------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-misc/muttprint     < 0.72d-r1                     >= 0.72d-r1

Description
===========

Dmitry E. Oboukhov reported an insecure usage of the temporary file
"/tmp/muttprint.log" in the muttprint script.

Impact
======

A local attacker could perform symlink attacks to overwrite arbitrary
files with the privileges of the user running the application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Muttprint users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=app-misc/muttprint-0.72d-r1"

References
==========

[ 1 ] CVE-2008-5368
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5368

Availability
============

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

http://security.gentoo.org/glsa/glsa-200903-35.xml

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 (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2009 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.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknIBZgACgkQuhJ+ozIKI5iIJACfazKnobZi/3NI6jTZMfIfzrR6
eRMAn2EK4II7ap/6BbZH4YeGz7M4kW5Q
=xsHz
-----END PGP SIGNATURE-----