<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200611-20">
  <title>GNU gv: Stack overflow</title>
  <synopsis>
    GNU gv improperly handles user-supplied data possibly allowing for the
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">gv</product>
  <announced>2006-11-24</announced>
  <revised count="01">2006-11-24</revised>
  <bug>154573</bug>
  <access>remote</access>
  <affected>
    <package name="app-text/gv" auto="yes" arch="*">
      <unaffected range="ge">3.6.2-r1</unaffected>
      <vulnerable range="lt">3.6.2-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    GNU gv is a viewer for PostScript and PDF documents.
    </p>
  </background>
  <description>
    <p>
    GNU gv does not properly boundary check user-supplied data before
    copying it into process buffers.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user to open a specially crafted document
    with GNU gv and execute arbitrary code with the rights of the user on
    the system.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All gv users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/gv-3.6.2-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5864">CVE-2006-5864</uri>
  </references>
  <metadata tag="requester" timestamp="2006-11-21T06:07:37Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2006-11-21T14:27:05Z">
    shellsage
  </metadata>
  <metadata tag="bugReady" timestamp="2006-11-24T20:18:52Z">
    jaervosz
  </metadata>
</glsa>
