summaryrefslogtreecommitdiff
blob: e833310ebce38dea8ac8df19e2a9b45fc4dc95b8 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200812-02">
  <title>enscript: User-assisted execution of arbitrary code</title>
  <synopsis>
    Two buffer overflows in enscript might lead to the execution of arbitrary
    code.
  </synopsis>
  <product type="ebuild">enscript</product>
  <announced>2008-12-02</announced>
  <revised>2008-12-02: 02</revised>
  <bug>243228</bug>
  <access>remote</access>
  <affected>
    <package name="app-text/enscript" auto="yes" arch="*">
      <unaffected range="ge">1.6.4-r4</unaffected>
      <vulnerable range="lt">1.6.4-r4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    enscript is a powerful ASCII to PostScript file converter.
    </p>
  </background>
  <description>
    <p>
    Two stack-based buffer overflows in the read_special_escape() function
    in src/psgen.c have been reported. Ulf Harnhammar of Secunia Research
    discovered a vulnerability related to the "setfilename" command
    (CVE-2008-3863), and Kees Cook of Ubuntu discovered a vulnerability
    related to the "font" escape sequence (CVE-2008-4306).
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could entice a user or automated system to process
    specially crafted input with the special escapes processing enabled
    using the "-e" option, possibly resulting in the execution of arbitrary
    code.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All enscript users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-text/enscript-1.6.4-r4"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3863">CVE-2008-3863</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4306">CVE-2008-4306</uri>
  </references>
  <metadata tag="requester" timestamp="2008-11-27T17:28:05Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2008-11-27T17:37:26Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-11-27T17:37:33Z">
    rbu
  </metadata>
</glsa>