summaryrefslogtreecommitdiff
blob: b0677a7150a16976bd3edc0d9d909d993ae839b0 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201006-16">
  <title>GD: User-assisted execution of arbitrary code</title>
  <synopsis>
    The GD library is prone to a buffer overflow vulnerability.
  </synopsis>
  <product type="ebuild">gd</product>
  <announced>2010-06-03</announced>
  <revised>2010-06-03: 01</revised>
  <bug>292130</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/gd" auto="yes" arch="*">
      <unaffected range="ge">2.0.35-r1</unaffected>
      <vulnerable range="lt">2.0.35-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    GD is a graphic library for fast image creation.
    </p>
  </background>
  <description>
    <p>
    Tomas Hoger reported that the _gdGetColors() function in gd_gd.c does
    not properly verify the colorsTotal struct member, possibly leading to
    a buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user to open a specially crafted image
    file with a program using the GD library, possibly resulting in the
    remote execution of arbitrary code with the privileges of the user
    running the application, or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All GD users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/gd-2.0.35-r1"</code>
    <p>
    NOTE: This is a legacy GLSA. Updates for all affected architectures are
    available since November 21, 2009. It is likely that your system is
    already no longer affected by this issue.
    </p>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3546">CVE-2009-3546</uri>
  </references>
  <metadata tag="requester" timestamp="2009-12-18T02:08:27Z">
    craig
  </metadata>
  <metadata tag="submitter" timestamp="2010-05-31T05:59:40Z">
    a3li
  </metadata>
  <metadata tag="bugReady" timestamp="2010-05-31T05:59:48Z">
    a3li
  </metadata>
</glsa>