ImageMagick: Filename handling vulnerability

Security Team  Contact Address

Updated March 06, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-11 / ImageMagick
Release Date March 06, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/imagemagick < 6.2.0.4 >= 6.2.0.4 All supported architectures

Related bugreports: #83542

Synopsis

A format string vulnerability exists in ImageMagick that may allow an attacker to execute arbitrary code.

2.  Impact Information

Background

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

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team has identified a flaw in the handling of filenames by the ImageMagick utilities.

Impact

Successful exploitation may disrupt web applications that depend on ImageMagick for image processing, potentially executing arbitrary code.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All ImageMagick users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References