summaryrefslogtreecommitdiff
blob: 5236824f617a6fe15d6cf295870898e943e00728 (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="200411-08">
  <title>GD: Integer overflow</title>
  <synopsis>
    The PNG image decoding routines in the GD library contain an integer
    overflow that may allow execution of arbitrary code with the rights of the
    program decoding a malicious PNG image.
  </synopsis>
  <product type="ebuild">GD</product>
  <announced>2004-11-03</announced>
  <revised count="01">2004-11-03</revised>
  <bug>69070</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/gd" auto="yes" arch="*">
      <unaffected range="ge">2.0.32</unaffected>
      <vulnerable range="lt">2.0.32</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The GD graphics library is an open source library which allows programmers
    to easily generate PNG, JPEG, GIF and WBMP images from many different
    programming languages.
    </p>
  </background>
  <description>
    <p>
    infamous41md found an integer overflow in the memory allocation procedure
    of the GD routine that handles loading PNG image files.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user to load a carefully crafted PNG image
    file in a GD-powered application, or send a PNG image to a web application
    which uses GD PNG decoding functions. This could potentially lead to
    execution of arbitrary code with the rights of the program loading the
    image.
    </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.32"</code>
  </resolution>
  <references>
    <uri link="http://www.securityfocus.com/archive/1/379382">Original BugTraq advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0990">CAN-2004-0990</uri>
  </references>
  <metadata tag="requester" timestamp="2004-11-01T10:23:54Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-11-02T21:56:13Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-11-03T20:55:19Z">
    koon
  </metadata>
</glsa>