Scientific Linux Security Update : ImageMagick on SL5.x i386/x86_64 (20120221)

medium Nessus Plugin ID 61255

Synopsis

The remote Scientific Linux host is missing one or more security updates.

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.

- 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.

- 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.

- 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.

- 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.

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

Update the affected packages.

See Also

http://www.nessus.org/u?9a615c37

Plugin Details

Severity: Medium

ID: 61255

File Name: sl_20120221_ImageMagick_on_SL5_x.nasl

Version: 1.6

Type: local

Agent: unix

Published: 8/1/2012

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:imagemagick, p-cpe:/a:fermilab:scientific_linux:imagemagick-c%2b%2b, p-cpe:/a:fermilab:scientific_linux:imagemagick-c%2b%2b-devel, p-cpe:/a:fermilab:scientific_linux:imagemagick-debuginfo, p-cpe:/a:fermilab:scientific_linux:imagemagick-devel, p-cpe:/a:fermilab:scientific_linux:imagemagick-perl, x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2/21/2012

Vulnerability Publication Date: 11/22/2010

Reference Information

CVE: CVE-2010-4167