Gentoo Logo

gif2png: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201101-01 / gif2png
Release Date January 05, 2011
Latest Revision January 05, 2011: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/gif2png < 2.5.1-r1 >= 2.5.1-r1 All supported architectures

Related bugreports: #346501

Synopsis

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

2.  Impact Information

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.

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All gif2png users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated January 05, 2011

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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