Muttprint: Insecure temporary file usage — GLSA 200903-35

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

Affected Packages

app-misc/muttprint on all architectures
Affected versions < 0.72d-r1
Unaffected versions >= 0.72d-r1

Background

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

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

Release Date
March 23, 2009

Latest Revision
March 23, 2009: 01

Severity
normal

Exploitable
local

Bugzilla entries