Executive Summary

Summary
Title gif2png: User-assisted execution of arbitrary code
Informations
Name GLSA-201101-01 First vendor Publication 2011-01-05
Vendor Gentoo Last vendor Modification 2011-01-05
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

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

[ 1 ] CVE-2009-5018 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-5018

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

Original Source

Url : http://security.gentoo.org/glsa/glsa-201101-01.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 35

OpenVAS Exploits

Date Description
2012-04-30 Name : Gentoo Security Advisory GLSA 201203-15 (gif2png)
File : nvt/glsa_201203_15.nasl
2011-03-09 Name : Gentoo Security Advisory GLSA 201101-01 (gif2png)
File : nvt/glsa_201101_01.nasl
2011-01-21 Name : Mandriva Update for gif2png MDVSA-2011:009 (gif2png)
File : nvt/gb_mandriva_MDVSA_2011_009.nasl
2010-11-23 Name : Fedora Update for gif2png FEDORA-2010-0358
File : nvt/gb_fedora_2010_0358_gif2png_fc12.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
70480 gif2png gif2png.c Multiple Image GIF File Handling Overflow DoS

gif2png is prone to an overflow condition. The 'gif2png.c' function fails to properly sanitize user-supplied input resulting in a buffer overflow. With a specially crafted GIF file, a context-dependent attacker can potentially execute arbitrary code.
63300 gif2png gif2png.c Command Line Argument Overflow

Nessus® Vulnerability Scanner

Date Description
2012-03-19 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201203-15.nasl - Type : ACT_GATHER_INFO
2011-01-28 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2011-009.nasl - Type : ACT_GATHER_INFO
2011-01-05 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201101-01.nasl - Type : ACT_GATHER_INFO
2010-11-22 Name : The remote Fedora host is missing a security update.
File : fedora_2010-0358.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:36:57
  • Multiple Updates