Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1167866 - (CVE-2014-9157) CVE-2014-9157 graphviz: format string vulnerability in yyerror()
CVE-2014-9157 graphviz: format string vulnerability in yyerror()
Status: CLOSED NEXTRELEASE
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20141125,reported=2...
: Security
Depends On: 1167868 1167869
Blocks: 1167867
  Show dependency treegraph
 
Reported: 2014-11-25 09:30 EST by Vasyl Kaigorodov
Modified: 2015-05-20 07:20 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-05-20 07:20:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vasyl Kaigorodov 2014-11-25 09:30:54 EST
Format string vulnerability was reported in graphviz [1].
Upstream patch is at [2].

[1]: http://seclists.org/oss-sec/2014/q4/784
[2]: https://github.com/ellson/graphviz/commit/99eda421f7ddc27b14e4ac1d2126e5fe41719081
Comment 1 Vasyl Kaigorodov 2014-11-25 09:33:03 EST
Created graphviz tracking bugs for this issue:

Affects: fedora-all [bug 1167868]
Affects: epel-5 [bug 1167869]
Comment 2 Jaroslav Škarvada 2014-11-25 12:27:41 EST
(In reply to Vasyl Kaigorodov from comment #1)
>
> Affects: epel-5 [bug 1167869]

There is:

scan.l:
agerror(AGERROR_SYNTAX, agxbuse(&xb));

By looking into agerror implementation:

AGERROR_SYNTAX == 1 # agraph.h

Message[1] == "%s" # agerror.c

agerror.c:
void agerror(int code, char *str)
{
  fprintf(stderr, Message[code], str);
...

Could you recheck the epel-5 vulnerability please?
Comment 3 Murray McAllister 2014-12-01 23:55:37 EST
This was assigned CVE-2014-9157:

http://seclists.org/oss-sec/2014/q4/872
Comment 4 Fedora Update System 2014-12-05 21:28:52 EST
graphviz-2.34.0-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2014-12-06 05:32:51 EST
graphviz-2.38.0-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2014-12-06 23:40:53 EST
graphviz-2.30.1-13.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 17:26:33 EDT
In Red Hat Enterprise Linux, this issue is mitigated by the FORTIFY_SOURCE hardening feature.  It prevents this issue from being exploitable for code execution.  Malicious format string can cause an unexpected termination of affected application (such us some of the graphviz command line tools, or other applications using graphviz's libcgraph library).  It may also lead to disclosure of portions of process memory, if attack providing inputs can also see produced error messages.
Comment 13 Tomas Hoger 2015-05-20 07:11:01 EDT
Upstream pull request with additional agerr() format string fixes:

https://github.com/ellson/graphviz/pull/50
Comment 14 Tomas Hoger 2015-05-20 07:20:42 EDT
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 and 7. 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.

Note You need to log in before you can comment on or make changes to this bug.