Graphviz: User-assisted execution of arbitrary code

Security Team  Contact Address

Updated November 09, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200811-04 / graphviz
Release Date November 09, 2008
Latest Revision November 09, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-gfx/graphviz < 2.20.3 >= 2.20.3 All supported architectures

Related bugreports: #240636

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Graphviz users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/graphviz-2.20.3"

4.  References