Bug 1050872 (CVE-2014-1236)

Summary: CVE-2014-1236 graphviz: stack-based buffer overflow in chkNum()
Product: [Other] Security Response Reporter: Ratul Gupta <ratulg>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alex, huzaifas, jkurik, jskarvad, mdshaikh, mhradile, pfrields, tremble
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-20 11:19:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1050873, 1050874, 1050875    
Bug Blocks: 1049172    

Description Ratul Gupta 2014-01-09 09:38:46 UTC
Graphviz, a collection of tools for the manipulation and layout of graphs, was recently reported to be affected by a buffer overflow vulnerability from user input, which seem to be caused due to the acceptance of arbitrary long digit list by regex.

References:
http://seclists.org/oss-sec/2014/q1/46

Commit:
https://github.com/ellson/graphviz/commit/1d1bdec6318746f6f19f245db589eddc887ae8ff

Comment 2 Ratul Gupta 2014-01-09 09:42:11 UTC
Created graphviz tracking bugs for this issue:

Affects: fedora-all [bug 1050873]
Affects: epel-5 [bug 1050874]

Comment 6 Fedora Update System 2014-02-11 19:16:09 UTC
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.

Comment 7 Fedora Update System 2014-02-11 23:00:02 UTC
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.

Comment 8 Fedora Update System 2014-02-11 23:01:58 UTC
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.

Comment 12 Tomas Hoger 2015-05-19 13:44:24 UTC
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).

Comment 13 Tomas Hoger 2015-05-20 11:19:26 UTC
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.

Statement:

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.