Red Hat Bugzilla – Bug 1049165
CVE-2014-0978 graphviz: stack-based buffer overflow in yyerror()
Last modified: 2015-05-20 07:18:13 EDT
Graphviz, a collection of tools for the manipulation and layout of graphs, was recently reported to be affected by a buffer overflow vulnerability.
The vulnerability is caused due to an error within the "yyerror()" function (lib/cgraph/scan.l) and can be exploited to cause a stack-based buffer overflow via a specially crafted file.
Created graphviz tracking bugs for this issue:
Affects: fedora-all [bug 1049167]
Affects: epel-5 [bug 1049168]
The original Secunia advisory is here: http://secunia.com/advisories/55666/
CVE-2014-1235 has been filed to address a buffer overflow vulnerability, that was introduced due to the fix implemented to fix this issue.
This fix (the git commit noted in #c0) introduced the possible buffer overflow vulnerability that received the name CVE-2014-1235. This commit is required in addition to the commit noted in #c0 to fully fix this flaw.
graphviz-2.12-10.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
graphviz-2.34.0-8.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
graphviz-2.30.1-12.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
Impact of this flaw is mitigated by the use of FORTIFY_SOURCE hardening feature. It prevents this issue from being exploitable for code execution. Overflow is detected before any memory corruption happens and application is terminated (via abort()). Hence this can only cause an unexpected termination of affected application (such us some of the graphviz command line tools, or other applications using graphviz's libcgraph library).
As this is mitigated by the FORTIFY_SOURCE, lowering impact rating accordingly. We are no longer planning to correct this in future updates of affected already released products.
This issue affects the versions of the graphviz package as shipped with Red Hat Enterprise Linux 6. Red Hat Product Security has rated this issue as having Low security impact and therefore it is not planned to be addressed in future updates.
This issue did not affect the versions of the graphviz package as shipped with Red Hat Enterprise Linux 7.