summaryrefslogtreecommitdiff
blob: 327f6ceddc0304353d3873ecedeae42f1297133c (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200409-12">
  <title>ImageMagick, imlib, imlib2: BMP decoding buffer overflows</title>
  <synopsis>
    ImageMagick, imlib and imlib2 contain exploitable buffer overflow
    vulnerabilities in the BMP image processing code.
  </synopsis>
  <product type="ebuild">imagemagick imlib</product>
  <announced>2004-09-08</announced>
  <revised count="01">2004-09-08</revised>
  <bug>62309</bug>
  <bug>62487</bug>
  <access>remote</access>
  <affected>
    <package name="media-gfx/imagemagick" auto="yes" arch="*">
      <unaffected range="ge">6.0.7.1</unaffected>
      <vulnerable range="lt">6.0.7.1</vulnerable>
    </package>
    <package name="media-libs/imlib" auto="yes" arch="*">
      <unaffected range="ge">1.9.14-r2</unaffected>
      <vulnerable range="lt">1.9.14-r2</vulnerable>
    </package>
    <package name="media-libs/imlib2" auto="yes" arch="*">
      <unaffected range="ge">1.1.2</unaffected>
      <vulnerable range="lt">1.1.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ImageMagick is a suite of image manipulation utilities and libraries used
    for a wide variety of image formats. imlib is a general image loading and
    rendering library.
    </p>
  </background>
  <description>
    <p>
    Due to improper bounds checking, ImageMagick and imlib are vulnerable to a
    buffer overflow when decoding runlength-encoded bitmaps. This bug can be
    exploited using a specially-crafted BMP image and could potentially allow
    remote code execution when this image is decoded by the user.
    </p>
  </description>
  <impact type="normal">
    <p>
    A specially-crafted runlength-encoded BMP could lead ImageMagick and imlib
    to crash or potentially execute arbitrary code.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All ImageMagick users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=media-gfx/imagemagick-6.0.7.1"
    # emerge "&gt;=media-gfx/imagemagick-6.0.7.1"</code>
    <p>
    All imlib users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=media-libs/imlib-1.9.14-r2"
    # emerge "&gt;=media-libs/imlib-1.9.14-r2"</code>
    <p>
    All imlib2 users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=media-libs/imlib2-1.1.2"
    # emerge "&gt;=media-libs/imlib2-1.1.2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0817">CAN-2004-0817</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0802">CAN-2004-0802</uri>
    <uri link="https://studio.imagemagick.org/pipermail/magick-developers/2004-August/002011.html">ImageMagick Mailing List</uri>
    <uri link="http://securitytracker.com/alerts/2004/Aug/1011104.html">SecurityTracker #1011104</uri>
    <uri link="http://securitytracker.com/alerts/2004/Aug/1011105.html">SecurityTracker #1011105</uri>
  </references>
  <metadata tag="requester" timestamp="2004-09-06T16:14:33Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-09-06T23:42:01Z">
    lewk
  </metadata>
  <metadata tag="bugReady" timestamp="2004-09-08T07:22:02Z">
    jaervosz
  </metadata>
</glsa>