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
Summary: CVE-2017-10906 fluentd: Escape sequence injection in filter_parser.rb:filter_...
Alias: CVE-2017-10906
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: Red Hat1552379 Red Hat1565212
Blocks: Embargoed1524787
TreeView+ depends on / blocked
Reported: 2017-12-12 03:55 UTC by Sam Fowler
Modified: 2021-02-17 01:07 UTC (History)
39 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-08 03:33:37 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2225 0 None None None 2018-07-19 13:49:26 UTC

Description Sam Fowler 2017-12-12 03:55:55 UTC
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.


Comment 8 Andrej Nemec 2018-05-14 12:17:14 UTC

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 13:49:11 UTC
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.