Skip to content
OpenAdvisories
Low · 3.1 CVE-2022-39379 BIT-fluentd-2022-39379EUVD-2022-7331GHSA-fppq-mj76-fpj2

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

Published Nov 2, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

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`.

Affected products

VendorProductAffectedFixed
fluent fluentd >= 1.13.2, < 1.15.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) rubygem-fluentd 1.14.6-2 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems fluentd >= 1.13.2, < 1.15.3 1.15.3 GHSA-fppq-mj76-fpj2

References