<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200709-04">
  <title>po4a: Insecure temporary file creation</title>
  <synopsis>
    A vulnerability has been discovered in po4a, allowing for a symlink attack.
  </synopsis>
  <product type="ebuild">po4a</product>
  <announced>2007-09-13</announced>
  <revised count="01">2007-09-13</revised>
  <bug>189440</bug>
  <access>local</access>
  <affected>
    <package name="app-text/po4a" auto="yes" arch="*">
      <unaffected range="ge">0.32-r1</unaffected>
      <vulnerable range="lt">0.32-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    po4a is a set of tools for helping with the translation of
    documentation.
    </p>
  </background>
  <description>
    <p>
    The po4a development team reported a race condition in the gettextize()
    function when creating the file "/tmp/gettextization.failed.po".
    </p>
  </description>
  <impact type="normal">
    <p>
    A local attacker could perform a symlink attack, possibly overwriting
    files with the permissions of the user running po4a.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All po4a users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/po4a-0.32-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4462">CVE-2007-4462</uri>
  </references>
  <metadata tag="requester" timestamp="2007-08-28T20:28:00Z">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="2007-08-28T20:28:12Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2007-09-08T16:20:41Z">
    p-y
  </metadata>
</glsa>
