fluentd: Escape sequence injection in filter_parser.rb:filter_stream can lead to arbitrary command execution when processing logs
Published Dec 8, 2017
9.8
CRITICALCVSS 3.0
EPSS 4.58%
Description
Escape sequence injection vulnerability in Fluentd versions 0.12.29 through 0.12.40 may allow an attacker to change the terminal UI or execute arbitrary commands on the device via unspecified vectors.
Affected products
-
- Version 0.12.29 through 0.12.40StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Cloud Native Computing Foundation (CNCF) | Fluentd | n/a |
|
Configuration 1
- 0.12.29
- 0.12.30
- 0.12.31
- 0.12.32
- 0.12.33
- 0.12.34
- 0.12.35
- 0.12.36
- 0.12.37
- 0.12.38
- 0.12.39
- 0.12.40
No data.
Red Hat OpenStack Platform 13.0 Operational Tools for RHEL 7
fluentd-0:0.12.41-1.el7
Fixed · RHSA-2018:2225
Red Hat OpenShift Enterprise 3
fluentd
Affected
Red Hat OpenStack Platform 10 (Newton) Operational Tools
fluentd
Will not fix
Red Hat OpenStack Platform 11 (Ocata) Operational Tools
fluentd
Will not fix
Red Hat OpenStack Platform 12 (Pike) Operational Tools
fluentd
Will not fix
Red Hat Virtualization 4
fluentd
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 13.0 Operational Tools for RHEL 7 | fluentd-0:0.12.41-1.el7 | Fixed | RHSA-2018:2225 |
| Red Hat OpenShift Enterprise 3 | fluentd | Affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) Operational Tools | fluentd | Will not fix | n/a |
| Red Hat OpenStack Platform 11 (Ocata) Operational Tools | fluentd | Will not fix | n/a |
| Red Hat OpenStack Platform 12 (Pike) Operational Tools | fluentd | Will not fix | n/a |
| Red Hat Virtualization 4 | fluentd | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
AV:N/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (22 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.58% (0.04581) | 91.35th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.58% (0.04581) | 90.39th | v5 (v2026.06.15) |
| May 24, 2026 | 1.36% (0.01357) | 80.37th | v4 (v2025.03.14) |
| Feb 12, 2026 | 4.66% (0.04657) | 89.06th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.43% (0.01429) | 78.85th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.93% (0.02934) | 77.36th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.43% (0.01429) | 79.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.22% (0.00221) | 61.13th | v3 (v2023.03.01) |
| Jul 4, 2023 | 0.22% (0.00221) | 59.12th | v3 (v2023.03.01) |
| Jun 10, 2023 | 0.31% (0.00314) | 65.89th | v3 (v2023.03.01) |
| May 8, 2023 | 0.29% (0.00292) | 64.41th | v3 (v2023.03.01) |
| May 1, 2023 | 0.35% (0.00348) | 67.48th | v3 (v2023.03.01) |
| Mar 19, 2023 | 0.64% (0.00642) | 76.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.91% (0.00909) | 80.34th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.82% (0.01819) | 35.19th | v1 |
| Jan 6, 2022 | 1.82% (0.01819) | 34.49th | v1 |
| Sep 1, 2021 | 1.82% (0.01819) | 74.60th | v1 |
| Apr 14, 2021 | 1.82% (0.01819) | 0.00th | v1 |
References (10)
- https://access.redhat.com/errata/RHSA-2018:2225 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-10906 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1524783 Issue Tracking
- https://github.com/advisories/GHSA-5jrp-w8fr-mrww Advisory
- https://github.com/fluent/fluentd/blob/v0.12/CHANGELOG.md#bug-fixes x_refsource_CONFIRMIssue TrackingRelease NotesThird Party Advisory
- https://github.com/fluent/fluentd/pull/1733 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fluentd/CVE-2017-10906.yml
- https://jvn.jp/en/vu/JVNVU95124098/index.html x_refsource_MISCIssue TrackingThird Party AdvisoryVDB Entry
- https://nvd.nist.gov/vuln/detail/CVE-2017-10906
- https://www.cve.org/CVERecord?id=CVE-2017-10906
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2018:2225 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-10906 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1524783 | Issue Tracking | |
| https://github.com/advisories/GHSA-5jrp-w8fr-mrww | Advisory | |
| https://github.com/fluent/fluentd/blob/v0.12/CHANGELOG.md#bug-fixes | x_refsource_CONFIRMIssue TrackingRelease NotesThird Party Advisory | |
| https://github.com/fluent/fluentd/pull/1733 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fluentd/CVE-2017-10906.yml | ||
| https://jvn.jp/en/vu/JVNVU95124098/index.html | x_refsource_MISCIssue TrackingThird Party AdvisoryVDB Entry | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-10906 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-10906 |
Change history (0)
No recorded changes yet.