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

High Nessus Plugin ID 58219


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


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.


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

See Also

Plugin Details

Severity: High

ID: 58219

File Name: gentoo_GLSA-201203-09.nasl

Version: $Revision: 1.7 $

Type: local

Published: 2012/03/06

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 9.3

Temporal Score: 8.1

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

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:imagemagick, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/03/06

Reference Information

CVE: CVE-2012-0247, CVE-2012-0248

BID: 51957

OSVDB: 79003, 79004

GLSA: 201203-09