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 1524783 - (CVE-2017-10906) CVE-2017-10906 fluentd: Escape sequence injection in filter_parser.rb:filter_stream can lead to arbitrary command execution when processing logs
CVE-2017-10906 fluentd: Escape sequence injection in filter_parser.rb:filter_...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20171107,repor...
: Security
Depends On: 1552379 1565212
Blocks: 1524787
  Show dependency treegraph
 
Reported: 2017-12-11 22:55 EST by Sam Fowler
Modified: 2018-07-19 09:49 EDT (History)
40 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2225 None None None 2018-07-19 09:49 EDT

  None (edit)
Description Sam Fowler 2017-12-11 22:55:55 EST
Escape sequence injection vulnerability in the filter_parser.rb:filter_stream function of Fluentd versions 0.12.29 through 0.12.40 may allow for unescaped arbitrary command injection to log files and terminal output.

Processing a specially crafted log may allow for arbitrary command exectuion on the device collecting logs.

References:
https://nvd.nist.gov/vuln/detail/CVE-2017-10906
https://github.com/fluent/fluentd/blob/v0.12/CHANGELOG.md#bug-fixes
https://github.com/fluent/fluentd/pull/1733
https://jvn.jp/en/vu/JVNVU95124098/index.html
Comment 8 Andrej Nemec 2018-05-14 08:17:14 EDT
Statement:

This flaw requires particular preconditions to be exploitable, which are not common in supported deployments of fluentd. The vulnerable system must have all of:

1. A filter_parser enabled in fluentd.conf

2. Fluentd running in non-daemon mode or a bad syslog server that doesn't sanitise escape sequences (rsyslog does)

3. A vulnerable terminal that happens to be running fluentd or manipulating the fluentd log file (for example tailing it)

This issue affects the versions of fluentd as shipped with Red Hat OpenShift Enterprise 3. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Comment 11 errata-xmlrpc 2018-07-19 09:49:11 EDT
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 13.0 Operational Tools for RHEL 7

Via RHSA-2018:2225 https://access.redhat.com/errata/RHSA-2018:2225

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