[Full-disclosure] [ GLSA 200602-13 ] GraphicsMagick: Format string vulnerability

Thierry Carrez koon at gentoo.org
Sun Feb 26 15:53:42 GMT 2006


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200602-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: GraphicsMagick: Format string vulnerability
      Date: February 26, 2006
      Bugs: #119476
        ID: 200602-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability in GraphicsMagick allows attackers to crash the
application and potentially execute arbitrary code.

Background
==========

GraphicsMagick is a collection of tools to read, write and manipulate
images in many formats.

Affected packages
=================

    -------------------------------------------------------------------
     Package                   /  Vulnerable  /             Unaffected
    -------------------------------------------------------------------
  1  media-gfx/graphicsmagick       < 1.1.7                   >= 1.1.7

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 in
ImageMagick GLSA 200602-06 and the same vulnerability exists in
GraphicsMagick.

Impact
======

By feeding specially crafted file names to GraphicsMagick an attacker
can crash the program and possibly execute arbitrary code with the
privileges of the user running GraphicsMagick.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GraphicsMagick users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-gfx/graphicsmagick-1.1.7"

References
==========

  [ 1 ] GLSA 200602-06
        http://www.gentoo.org/security/en/glsa/glsa-200602-06.xml

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200602-13.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security at gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20060226/7056d66a/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.