CVE-2017-10906
fluentd: Escape sequence injection in filter_parser.rb:filter_stream can lead to arbitrary command execution when processing logs
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB. Rated lower by Red Hat (medium).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | fluentd | 0.12.41 |
| rubygems::Ruby Advisory Database | fluentd | >= 0.12.41 |
| Red Hat | fluentd, fluentd-doc | no fix listed |
Show all 4 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | fluentd | 0.12.41 |
| rubygems::Ruby Advisory Database | fluentd | >= 0.12.41 |
| Red Hat | fluentd | no fix listed |
| Red Hat | fluentd-doc | no fix listed |
References
- https://access.redhat.com/errata/RHSA-2018:2225
- https://access.redhat.com/security/cve/CVE-2017-10906
- https://github.com/fluent/fluentd
- https://github.com/fluent/fluentd/blob/v0.12/CHANGELOG.md#bug-fixes
- https://github.com/fluent/fluentd/pull/1733
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fluentd/CVE-2017-10906.yml
- https://jvn.jp/en/vu/JVNVU95124098/index.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-10906