Gentoo Logo

Muttprint: Insecure temporary file usage


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200903-35 / muttprint
Release Date March 23, 2009
Latest Revision March 23, 2009: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-misc/muttprint < 0.72d-r1 >= 0.72d-r1 All supported architectures

Related bugreports: #250554


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

2.  Impact Information


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


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


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

3.  Resolution Information


There is no known workaround at this time.


All Muttprint users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated March 23, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.