Issued:
2012-02-21
Updated:
2012-02-21

RHSA-2012:0301 - Low: ImageMagick security and bug fix update


Synopsis

Low: ImageMagick security and bug fix update

Type/Severity

Security Advisory Low

Topic

Updated ImageMagick packages that fix one security issue and multiple bugs are now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.

Description

ImageMagick is an image display and manipulation tool for the X Window System that can read and write multiple image formats.

It was found that ImageMagick utilities tried to load ImageMagick configuration files from the current working directory. If a user ran an ImageMagick utility in an attacker-controlled directory containing a specially-crafted ImageMagick configuration file, it could cause the utility to execute arbitrary code. (CVE-2010-4167)

This update also fixes the following bugs:

  • Previously, the "identify -verbose" command failed with an assertion if there was no image information available. An upstream patch has been applied, so that GetImageOption() is now called correctly. Now, the "identify -verbose" command works correctly even if no image information is available. (BZ#502626)

  • Previously, an incorrect use of the semaphore data type led to a deadlock. As a consequence, the ImageMagick utility could become unresponsive when converting JPEG files to PDF (Portable Document Format) files. A patch has been applied to address the deadlock issue, and JPEG files can now be properly converted to PDF files. (BZ#530592)

  • Previously, running the "convert" command with the "-color" option failed with a memory allocation error. The source code has been modified to fix problems with memory allocation. Now, using the "convert" command with the "-color" option works correctly. (BZ#616538)

  • Previously, ImageMagick could become unresponsive when using the "display" command on damaged GIF files. The source code has been revised to prevent the issue. ImageMagick now produces an error message in the described scenario. A file selector is now opened so the user can choose another image to display. (BZ#693989)

  • Prior to this update, the "convert" command did not handle rotated PDF files correctly. As a consequence, the output was rendered as a portrait with the content being cropped. With this update, the PDF render geometry is modified, and the output produced by the "convert" command is properly rendered as a landscape. (BZ#694922)

All users of ImageMagick are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running instances of ImageMagick must be restarted for this update to take effect.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Desktop5x86_64
Red Hat Enterprise Linux Desktop5i386

Updated Packages

  • ImageMagick-6.2.8.0-12.el5.ppc64.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.ppc.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.s390.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.ia64.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.ppc64.rpm
  • ImageMagick-perl-6.2.8.0-12.el5.s390x.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.s390.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.ia64.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.s390.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.ppc64.rpm
  • ImageMagick-6.2.8.0-12.el5.ppc.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.s390x.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.ia64.rpm
  • ImageMagick-perl-6.2.8.0-12.el5.ia64.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.s390x.rpm
  • ImageMagick-6.2.8.0-12.el5.s390.rpm
  • ImageMagick-perl-6.2.8.0-12.el5.x86_64.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.ppc64.rpm
  • ImageMagick-6.2.8.0-12.el5.src.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.ppc.rpm
  • ImageMagick-6.2.8.0-12.el5.ia64.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.i386.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.ia64.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.x86_64.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.i386.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.ppc.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.x86_64.rpm
  • ImageMagick-6.2.8.0-12.el5.s390x.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.s390x.rpm
  • ImageMagick-perl-6.2.8.0-12.el5.ppc.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.i386.rpm
  • ImageMagick-6.2.8.0-12.el5.x86_64.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.s390x.rpm
  • ImageMagick-devel-6.2.8.0-12.el5.ppc64.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.x86_64.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.ppc.rpm
  • ImageMagick-6.2.8.0-12.el5.i386.rpm
  • ImageMagick-debuginfo-6.2.8.0-12.el5.x86_64.rpm
  • ImageMagick-c++-devel-6.2.8.0-12.el5.s390.rpm
  • ImageMagick-c++-6.2.8.0-12.el5.i386.rpm
  • ImageMagick-perl-6.2.8.0-12.el5.i386.rpm

Fixes

CVEs

References


Additional information