GLSA-201203-09 : ImageMagick: User-assisted execution of arbitrary code

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201203-09
(ImageMagick: User-assisted execution of arbitrary code)

Two vulnerabilities have been found in ImageMagick:
Incorrect offset and count values in the ResolutionUnit tag in EXIF
IFD could cause memory corruption (CVE-2012-0247).
IOP tag offsets pointing to the beginning of an IFD could cause an
infinite loop of ImageMagick parsing the IFD structure (CVE-2012-0248).

Impact :

A remote attacker could entice a user to open a specially crafted image,
possibly resulting in execution of arbitrary code or a Denial of Service
condition.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201203-09.xml

Solution :

All ImageMagick users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=media-gfx/imagemagick-6.7.5.3'

Risk factor :

High / CVSS Base Score : 9.3
(CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.1
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 58219 ()

Bugtraq ID: 51957

CVE ID: CVE-2012-0247
CVE-2012-0248