GLSA 201101-01: gif2png: User-assisted execution of arbitrary code

Severity:normal
Title:gif2png: User-assisted execution of arbitrary code
Date:01/05/2011
Bugs: #346501
ID:201101-01

Synopsis

gif2png contains a stack overflow vulnerability when parsing command line arguments.

Background

gif2png is a command line program that converts image files from the Graphics Interchange Format (GIF) format to the Portable Network Graphics (PNG) format.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-gfx/gif2png < 2.5.1-r1 >= 2.5.1-r1 All supported architectures

Description

gif2png contains a command line parsing vulnerability that may result in a stack overflow due to an unexpectedly long input filename.

Impact

A remote attacker could entice a user to open a specially crafted image, possibly resulting in the execution of arbitrary code with the privileges of the user running the application, or a Denial of Service. Note that applications relying on gif2png to process images can also trigger the vulnerability.

Workaround

There is no known workaround at this time.

Resolution

All gif2png users should upgrade to the latest stable version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-gfx/gif2png-2.5.1-r1"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201101-01.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@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!