Advisory

GHSA-fppq-mj76-fpj2

Also known as: BIT-fluentd-2022-39379, CVE-2022-39379

Summary

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

Details

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

Patches
v1.15.3

Workarounds
Do not use FLUENT_OJ_OPTION_MODE=object.

References

  • GHSL-2022-067

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-11-02 18:15 UTC
Modified
2024-02-21 05:28 UTC

Affected packages and fixes

fluentd

RubyGems · All systems

Affected

  • introduced 1.13.2, fixed 1.15.3 (ecosystem)

Fixed versions

1.15.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences