<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200411-30">
  <title>pdftohtml: Vulnerabilities in included Xpdf</title>
  <synopsis>
    pdftohtml includes vulnerable Xpdf code to handle PDF files, making it
    vulnerable to execution of arbitrary code upon converting a malicious PDF
    file.
  </synopsis>
  <product type="ebuild">pdftohtml</product>
  <announced>2004-11-23</announced>
  <revised count="01">2004-11-23</revised>
  <bug>69019</bug>
  <access>remote</access>
  <affected>
    <package name="app-text/pdftohtml" auto="yes" arch="*">
      <unaffected range="ge">0.36-r1</unaffected>
      <vulnerable range="le">0.36</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    pdftohtml is a utility to convert PDF files to HTML or XML
    formats. It makes use of Xpdf code to decode PDF files.
    </p>
  </background>
  <description>
    <p>
    Xpdf is vulnerable to multiple integer overflows, as described in
    GLSA 200410-20.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user to convert a specially-crafted PDF
    file, potentially resulting in execution of arbitrary code with the
    rights of the user running pdftohtml.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All pdftohtml users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/pdftohtml-0.36-r1"</code>
  </resolution>
  <references>
    <uri link="https://www.gentoo.org/security/en/glsa/glsa-200410-20.xml">GLSA 200410-20</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0888">CAN-2004-0888</uri>
  </references>
  <metadata tag="submitter" timestamp="2004-11-22T17:05:12Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-11-22T17:05:20Z">
    koon
  </metadata>
</glsa>
