Stack-based buffer overflow - CVE-2014-0978
Published: January 10, 2014 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the yyerror function in lib/cgraph/scan.l when processing a long line in a dot file. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Fedora
graphviz (Alpine package)
nagios (Alpine package)
graphviz
How to mitigate CVE-2014-0978
nagios (Alpine package) - update to 3.4.4-r1
graphviz - addressed in versions 2.12-9.el5, 2.12-10.el5
External References
- http://seclists.org/oss-sec/2014/q1/28
- http://seclists.org/oss-sec/2014/q1/38
- http://secunia.com/advisories/55666
- http://secunia.com/advisories/56244
- http://www.debian.org/security/2014/dsa-2843
- http://www.mandriva.com/security/advisories?name=MDVSA-2014:024
- http://www.securityfocus.com/bid/64674
- https://bugs.gentoo.org/show_bug.cgi?id=497274
- https://bugzilla.redhat.com/show_bug.cgi?id=1049165
- https://exchange.xforce.ibmcloud.com/vulnerabilities/90085
- https://github.com/ellson/graphviz/commit/7aaddf52cd98589fb0c3ab72a393f8411838438a
- https://security.gentoo.org/glsa/201702-06
Related Security Bulletins
- Stack-based buffer overflow in graphviz (Alpine package)
- Amazon Linux AMI update for graphviz-php
- Amazon Linux AMI update for graphviz
- Amazon Linux AMI update for graphviz-php
- Amazon Linux AMI update for graphviz
- Gentoo update for Graphviz
- Fedora EPEL 5 update for graphviz
- Fedora EPEL 5 update for graphviz