Issued:
2012-05-07
Updated:
2012-05-07

RHSA-2012:0544 - Moderate: ImageMagick security update


Synopsis

Moderate: ImageMagick security update

Type/Severity

Security Advisory Moderate

Topic

Updated ImageMagick packages that fix multiple security issues are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links 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.

A flaw was found in the way ImageMagick processed images with malformed Exchangeable image file format (Exif) metadata. An attacker could create a specially-crafted image file that, when opened by a victim, would cause ImageMagick to crash or, potentially, execute arbitrary code. (CVE-2012-0247)

A denial of service flaw was found in the way ImageMagick processed images with malformed Exif metadata. An attacker could create a specially-crafted image file that, when opened by a victim, could cause ImageMagick to enter an infinite loop. (CVE-2012-0248)

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)

An integer overflow flaw was found in the way ImageMagick processed certain Exif tags with a large components count. An attacker could create a specially-crafted image file that, when opened by a victim, could cause ImageMagick to access invalid memory and crash. (CVE-2012-0259)

A denial of service flaw was found in the way ImageMagick decoded certain JPEG images. A remote attacker could provide a JPEG image with specially-crafted sequences of RST0 up to RST7 restart markers (used to indicate the input stream to be corrupted), which once processed by ImageMagick, would cause it to consume excessive amounts of memory and CPU time. (CVE-2012-0260)

An out-of-bounds buffer read flaw was found in the way ImageMagick processed certain TIFF image files. A remote attacker could provide a TIFF image with a specially-crafted Exif IFD value (the set of tags for recording Exif-specific attribute information), which once opened by ImageMagick, would cause it to crash. (CVE-2012-1798)

Red Hat would like to thank CERT-FI for reporting CVE-2012-0259, CVE-2012-0260, and CVE-2012-1798. CERT-FI acknowledges Aleksis Kauppinen, Joonas Kuorilehto, Tuomas Parttimaa and Lasse Ylivainio of Codenomicon's CROSS project as the original reporters.

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 https://access.redhat.com/knowledge/articles/11258

Affected Products

ProductVersionArch
Red Hat Storage2.0x86_64
Red Hat Storage for Public Cloud (via RHUI)2.0x86_64
Red Hat Gluster Storage Server for On-premise2.0x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support6.2x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support6.2i386
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support6.2ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support6.2s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI6.2x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI6.2i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - AUS6.2x86_64
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • ImageMagick-debuginfo-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-c++-devel-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-devel-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-6.5.4.7-6.el6_2.s390.rpm
  • ImageMagick-6.5.4.7-6.el6_2.ppc.rpm
  • ImageMagick-6.5.4.7-6.el6_2.s390x.rpm
  • ImageMagick-c++-6.5.4.7-6.el6_2.s390.rpm
  • ImageMagick-debuginfo-6.5.4.7-6.el6_2.ppc.rpm
  • ImageMagick-devel-6.5.4.7-6.el6_2.ppc.rpm
  • ImageMagick-c++-6.5.4.7-6.el6_2.ppc.rpm
  • ImageMagick-c++-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-doc-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-devel-6.5.4.7-6.el6_2.s390x.rpm
  • ImageMagick-perl-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-devel-6.5.4.7-6.el6_2.s390.rpm
  • ImageMagick-c++-6.5.4.7-6.el6_2.s390x.rpm
  • ImageMagick-debuginfo-6.5.4.7-6.el6_2.s390.rpm
  • ImageMagick-debuginfo-6.5.4.7-6.el6_2.s390x.rpm
  • ImageMagick-perl-6.5.4.7-6.el6_2.s390x.rpm
  • ImageMagick-c++-devel-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-c++-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-doc-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-c++-devel-6.5.4.7-6.el6_2.s390.rpm
  • ImageMagick-doc-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-debuginfo-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-6.5.4.7-6.el6_2.src.rpm
  • ImageMagick-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-c++-devel-6.5.4.7-6.el6_2.s390x.rpm
  • ImageMagick-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-debuginfo-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-c++-devel-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-c++-devel-6.5.4.7-6.el6_2.ppc.rpm
  • ImageMagick-devel-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-perl-6.5.4.7-6.el6_2.x86_64.rpm
  • ImageMagick-perl-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-c++-6.5.4.7-6.el6_2.ppc64.rpm
  • ImageMagick-devel-6.5.4.7-6.el6_2.i686.rpm
  • ImageMagick-doc-6.5.4.7-6.el6_2.s390x.rpm

Fixes

CVEs

References


Additional information