ImageMagick: Format string vulnerability
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200602-06 / ImageMagick |
| Release Date |
February 13, 2006 |
| Latest Revision |
February 13, 2006: 01 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| media-gfx/imagemagick |
<
6.2.5.5 |
>=
6.2.5.5 |
All supported architectures
|
Related bugreports:
#83542
Synopsis
A vulnerability in ImageMagick allows attackers to crash the application
and potentially execute arbitrary code.
2.
Impact Information
Background
ImageMagick is an application suite to manipulate and convert
images. It is often used as a utility backend by web applications like
forums, content management systems or picture galleries.
Description
The SetImageInfo function was found vulnerable to a format string
mishandling. Daniel Kobras discovered that the handling of "%"-escaped
sequences in filenames passed to the function is inadequate. This is a
new vulnerability that is not addressed by GLSA 200503-11.
Impact
By feeding specially crafted file names to ImageMagick, an
attacker can crash the program and possibly execute arbitrary code with
the privileges of the user running ImageMagick.
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.5.5"
|
4.
References
|