Skip to content

CVE-2022-39379 Fluentd vulnerable to remote code execution due to insecure deserialization (in non-default configuration)

CriticalCVSS 9.8 EPSS 45.0% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. A remote code execution (RCE) vulnerability in non-default configurations of Fluentd allows unauthenticated attackers to execute arbitrary code via specially crafted JSON payloads. Fluentd setups are only affected if the environment variable FLUENT_OJ_OPTION_MODE is explicitly set to object. Please note: The option FLUENT_OJ_OPTION_MODE was introduced in Fluentd version 1.13.2. Earlier versions of Fluentd are not affected by this vulnerability. This issue was patched in version 1.15.3. As a workaround do not use FLUENT_OJ_OPTION_MODE=object.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
fluentd >= 1.13.2, < 1.15.3 1.15.3 Fixed
rubygems fluentd(RubyGems) = 1.13.2; = 1.13.3; = 1.14.0; = 1.14.0.rc +10 more 1.15.3 Fixed
fedoraproject fedora = 37 No fix listed Versions listed
fluentd = >= 1.13.2, < 1.15.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems fluentd(RubyGems) >= 1.13.2, < 1.15.3 1.15.3
rubygems fluentd(RubyGems) = 1.13.2 No fix listed
rubygems fluentd(RubyGems) = 1.13.3 No fix listed
rubygems fluentd(RubyGems) = 1.14.0 No fix listed
rubygems fluentd(RubyGems) = 1.14.0.rc No fix listed
rubygems fluentd(RubyGems) = 1.14.1 No fix listed
rubygems fluentd(RubyGems) = 1.14.2 No fix listed
rubygems fluentd(RubyGems) = 1.14.3 No fix listed
rubygems fluentd(RubyGems) = 1.14.4 No fix listed
rubygems fluentd(RubyGems) = 1.14.5 No fix listed
rubygems fluentd(RubyGems) = 1.14.6 No fix listed
rubygems fluentd(RubyGems) = 1.15.0 No fix listed
rubygems fluentd(RubyGems) = 1.15.1 No fix listed
rubygems fluentd(RubyGems) = 1.15.2 No fix listed
fluentd = >= 1.13.2, < 1.15.3 No fix listed
fluentd >= 1.13.2, < 1.15.3 1.15.3
fedoraproject fedora = 37 No fix listed

References