[Q&A] Questions about CVE-2026_41316 in fluent-package v6.0.4 #5457
|
Hello, We are currently using fluent-package v6.0.4. Our vulnerability scanner reports CVE-2026-41316 against the default Ruby gem: Name: erb Path: According to the advisory, the fixed version is erb 4.0.4.1. Since erb is a default gem, installing a newer erb version without removing the original default gem will not work. Questions:
Thanks in advance. Environment- Fluentd version:1.19.3
- TD Agent version:
- Fluent Package version:6.0.4
- Docker image (tag):
- Operating system:Red Hat 9.8
- Kernel version: |
Replies: 2 comments
|
Thanks for the detailed report. 1. Is fluent-package v6.0.4 affected?The scanner's detection is accurate: v6.0.4 bundles Ruby 3.4.9, whose default However, we do not consider Fluentd itself to have a practical attack path forthis CVE. In fluent-package v6.0.4:
If you run third-party plugins that call 2. Has the fix been backported into v6.0.4?No. fluent-package ships the upstream Ruby release as-is and does not patch 3. Is a release with erb 4.0.4.1 or later planned?Ruby 3.4.10 (released 2026-06-30) includes erb 4.0.4.1 with the We have a plan to release fluent-package v6.0.5 at end of September. 4. Recommended remediation for v6.0.4 users
|
|
Thank you for the detailed explanation. |
Thanks for the detailed report.
1. Is fluent-package v6.0.4 affected?
The scanner's detection is accurate: v6.0.4 bundles Ruby 3.4.9, whose default
erbgem is 4.0.4, which matches the affected range of the advisory.However, we do not consider Fluentd itself to have a practical attack path forthis CVE.
Exploitation requires
Marshal.load()on attacker-controlled data in a process that haserbloaded (the published gadget chain additionally requires ActiveSupport).In fluent-package v6.0.4:
erblibrary is not loaded by Fluentd core at runtime:require "erb"appears only influent-plugin-generateandfluent-plugin-config-format(developer CLI tools).Note that some bundled plugins can p…