<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200411-11">
  <title>ImageMagick: EXIF buffer overflow</title>
  <synopsis>
    ImageMagick contains an error in boundary checks when handling EXIF
    information, which could lead to arbitrary code execution.
  </synopsis>
  <product type="ebuild">imagemagick</product>
  <announced>2004-11-06</announced>
  <revised count="01">2004-11-06</revised>
  <bug>69825</bug>
  <access>remote</access>
  <affected>
    <package name="media-gfx/imagemagick" auto="yes" arch="*">
      <unaffected range="ge">6.1.3.2</unaffected>
      <vulnerable range="lt">6.1.3.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ImageMagick is a collection of tools to read, write and manipulate images
    in many formats.
    </p>
  </background>
  <description>
    <p>
    ImageMagick fails to do proper bounds checking when handling image files
    with EXIF information.
    </p>
  </description>
  <impact type="normal">
    <p>
    An attacker could use an image file with specially-crafted EXIF information
    to cause arbitrary code execution with the permissions of the user running
    ImageMagick.
    </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 --ask --oneshot --verbose "&gt;=media-gfx/imagemagick-6.1.3.2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0981">CAN-2004-0981</uri>
    <uri link="https://www.imagemagick.org/www/Changelog.html">ImageMagick ChangeLog</uri>
    <uri link="https://secunia.com/advisories/12995/">SA 12995</uri>
  </references>
  <metadata tag="requester" timestamp="2004-11-05T13:21:51Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-11-06T13:00:12Z">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="2004-11-06T18:34:28Z">
    jaervosz
  </metadata>
</glsa>
