Gentoo Logo

ImageMagick: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201006-03 / imagemagick
Release Date June 01, 2010
Latest Revision June 01, 2010: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/imagemagick < 6.5.2.9 >= 6.5.2.9 All supported architectures

Related bugreports: #271502

Synopsis

An integer overflow in ImageMagick might allow remote attackers to cause the remote execution of arbitrary code.

2.  Impact Information

Background

ImageMagick is a collection of tools and libraries for manipulating various image formats.

Description

Tielei Wang has discovered that the XMakeImage() function in magick/xwindow.c is prone to an integer overflow, possibly leading to a buffer overflow.

Impact

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

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to an unaffected version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/imagemagick-6.5.2.9"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since June 4, 2009. It is likely that your system is already no longer affected by this issue.

4.  References



Print

Page updated June 01, 2010

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.