Executive Summary

Summary
TitleGraphviz: User-assisted execution of arbitrary code
Informations
NameGLSA-200811-04First vendor Publication2008-11-09
VendorGentooLast vendor Modification2008-11-09
Severity (Vendor) NormalRevisionN/A

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:S/C:C/I:C/A:C)
Cvss Base Score8.5Attack RangeNetwork
Cvss Impact Score10Attack ComplexityMedium
Cvss Expoit Score6.8AuthentificationRequires single instance
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A buffer overflow in Graphviz might lead to user-assisted execution of arbitrary code via a DOT file.

Background

Graphviz is an open source graph visualization software.

Description

Roee Hay reported a stack-based buffer overflow in the push_subg()
function in parser.y when processing a DOT file with a large number of Agraph_t elements.

Impact

A remote attacker could entice a user or automated system to open a specially crafted DOT file in an application using Graphviz, possibly leading to the execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All Graphviz users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/graphviz-2.20.3"

References

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

Availability

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

http://security.gentoo.org/glsa/glsa-200811-04.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200811-04.xml

CWE : Common Weakness Enumeration

idName
CWE-119Failure to Constrain Operations within the Bounds of a Memory Buffer

CPE : Common Platform Enumeration

TypeDescriptionCount
Application40

Open Source Vulnerability Database (OSVDB)

idDescription
48939Graphviz lib/graph/parser.c push_subg Function Crafted DOT File Overflow