summaryrefslogtreecommitdiff
blob: 7c6fbbe8e26c9d418c3de875294064e628069893 (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
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200806-10">
  <title>FreeType: User-assisted execution of arbitrary code</title>
  <synopsis>
    Font parsing vulnerabilities in FreeType might lead to user-assisted
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">freetype</product>
  <announced>2008-06-23</announced>
  <revised>2009-05-28: 03</revised>
  <bug>225851</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/freetype" auto="yes" arch="*">
      <unaffected range="ge">2.3.6</unaffected>
      <unaffected range="rge">1.4_pre20080316-r1</unaffected>
      <vulnerable range="lt">2.3.6</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    FreeType is a font rendering library for TrueType Font (TTF) and
    Printer Font Binary (PFB).
    </p>
  </background>
  <description>
    <p>
    Regenrecht reported multiple vulnerabilities in FreeType via iDefense:
    </p>
    <ul>
    <li>
    An integer overflow when parsing values in the Private dictionary table
    in a PFB file, leading to a heap-based buffer overflow
    (CVE-2008-1806).
    </li>
    <li>
    An invalid free() call related to parsing an invalid "number of axes"
    field in a PFB file (CVE-2008-1807).
    </li>
    <li>
    Multiple off-by-one errors when parsing PBF and TTF files, leading to
    heap-based buffer overflows (CVE-2008-1808).
    </li>
    </ul>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user to open a specially crafted TTF
    or PBF file, possibly resulting in the execution of arbitrary code with
    the privileges of the user running an application linked against
    FreeType (such as the X.org X server, running as root).
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All FreeType users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/freetype-2.3.6"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1806">CVE-2008-1806</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1807">CVE-2008-1807</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1808">CVE-2008-1808</uri>
  </references>
  <metadata tag="requester" timestamp="2008-06-12T09:20:25Z">
    vorlon
  </metadata>
  <metadata tag="submitter" timestamp="2008-06-17T00:04:48Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-06-17T00:04:59Z">
    rbu
  </metadata>
</glsa>