summaryrefslogtreecommitdiff
blob: 46835523c1dd000078ffd0f522085673ec486c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200501-28">
  <title>Xpdf, GPdf: Stack overflow in Decrypt::makeFileKey2</title>
  <synopsis>
    A stack overflow was discovered in Xpdf, potentially resulting in the
    execution of arbitrary code. GPdf includes Xpdf code and therefore is
    vulnerable to the same issue.
  </synopsis>
  <product type="ebuild">Xpdf</product>
  <announced>2005-01-21</announced>
  <revised count="01">2005-01-21</revised>
  <bug>77888</bug>
  <bug>78128</bug>
  <access>remote</access>
  <affected>
    <package name="app-text/xpdf" auto="yes" arch="*">
      <unaffected range="ge">3.00-r8</unaffected>
      <vulnerable range="le">3.00-r7</vulnerable>
    </package>
    <package name="app-text/gpdf" auto="yes" arch="*">
      <unaffected range="ge">2.8.2</unaffected>
      <vulnerable range="lt">2.8.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Xpdf is an open source viewer for Portable Document Format (PDF)
    files. GPdf is a Gnome-based PDF viewer that includes some Xpdf code.
    </p>
  </background>
  <description>
    <p>
    iDEFENSE reports that the Decrypt::makeFileKey2 function in Xpdf's
    Decrypt.cc insufficiently checks boundaries when processing /Encrypt
    /Length tags in PDF files.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice an user to open a specially-crafted PDF
    file which would trigger a stack overflow, potentially resulting in
    execution of arbitrary code with the rights of the user running Xpdf or
    GPdf.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Xpdf users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/xpdf-3.00-r8"</code>
    <p>
    All GPdf users should also upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/gpdf-2.8.2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0064">CAN-2005-0064</uri>
    <uri link="http://www.idefense.com/application/poi/display?id=186&amp;type=vulnerabilities&amp;flashstatus=true">iDEFENSE Advisory</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-01-18T13:34:11Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-01-21T20:37:01Z">
    koon
  </metadata>
</glsa>