CVE-2017-10906: Fluentd Fluentd Escape Sequence Injection Vulnerability Vulnerability
CRITICALCVE-2017-10906 is a CRITICAL (CVSS 9.8) fluentd escape sequence injection vulnerability vulnerability (General Security Weakness) affecting Fluentd libraries in the RubyGems ecosystem. The issue involves fluentd escape sequence injection vulnerability. Remediation is available by upgrading affected packages to version 0.12.41.
CVE-2017-10906 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-10906
To remediate this vulnerability, upgrade all affected Fluentd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade fluentd to 0.12.41
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for fluentd
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-10906, inspect your project dependencies for Fluentd:
inspect dependencies for fluentd
Analyze the terminal output to locate any version of Fluentd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.41), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Fluentd, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-10906 Affected Fluentd Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
fluentd
|
RubyGems |
≥ 0.12.29
< 0.12.41
|
0.12.41
|
References
Frequently Asked Questions
What is CVE-2017-10906?
Which Fluentd versions are affected?
What version fixes CVE-2017-10906?
Is fluentd affected?
What is the CVSS score of CVE-2017-10906?
What CWE is associated with CVE-2017-10906?
How can I check RubyGems dependencies for CVE-2017-10906?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5jrp-w8fr-mrww",
"modified" : "2023-01-24T16:01:00Z",
"published" : "2022-05-13T01:07:35Z",
"aliases" : [ "CVE-2017-10906" ],
"summary" : "Fluentd Escape Sequence Injection Vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "fluentd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.12.29"
}, {
"fixed" : "0.12.41"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-10906"
}, {
"type" : "WEB",
"url" : "https://github.com/fluent/fluentd/pull/1733"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2225"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fluent/fluentd"
}, {
"type" : "WEB",
"url" : "https://github.com/fluent/fluentd/blob/v0.12/CHANGELOG.md#bug-fixes"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/fluentd/CVE-2017-10906.yml"
}, {
"type" : "WEB",
"url" : "https://jvn.jp/en/vu/JVNVU95124098/index.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-24T16:01:00Z",
"nvd_published_at" : "2017-12-08T15:29:00Z"
}
}