<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200903-35">
  <title>Muttprint: Insecure temporary file usage</title>
  <synopsis>
    An insecure temporary file usage in Muttprint allows for symlink attacks.
  </synopsis>
  <product type="ebuild">muttprint</product>
  <announced>2009-03-23</announced>
  <revised count="01">2009-03-23</revised>
  <bug>250554</bug>
  <access>local</access>
  <affected>
    <package name="app-misc/muttprint" auto="yes" arch="*">
      <unaffected range="ge">0.72d-r1</unaffected>
      <vulnerable range="lt">0.72d-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Muttprint formats the output of mail clients to a good-looking printing
    using LaTeX.
    </p>
  </background>
  <description>
    <p>
    Dmitry E. Oboukhov reported an insecure usage of the temporary file
    "/tmp/muttprint.log" in the muttprint script.
    </p>
  </description>
  <impact type="normal">
    <p>
    A local attacker could perform symlink attacks to overwrite arbitrary
    files with the privileges of the user running the application.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Muttprint users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-misc/muttprint-0.72d-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5368">CVE-2008-5368</uri>
  </references>
  <metadata tag="requester" timestamp="2009-03-22T20:25:26Z">
    a3li
  </metadata>
  <metadata tag="submitter" timestamp="2009-03-22T21:59:17Z">
    a3li
  </metadata>
  <metadata tag="bugReady" timestamp="2009-03-22T21:59:46Z">
    a3li
  </metadata>
</glsa>
