CVE-2022-39379
Ruby vulnerability analysis and mitigation

Overview

A remote code execution (RCE) vulnerability identified as CVE-2022-39379 was discovered in Fluentd, affecting versions 1.13.2 through 1.15.3. The vulnerability was disclosed on November 2, 2022, and specifically impacts non-default configurations of Fluentd when the FLUENT_OJ_OPTION_MODE environment variable is explicitly set to 'object' (GitHub Advisory, NIST NVD).

Technical details

The vulnerability stems from Fluentd's use of Oj as its JSON parser when installed. When Oj.load is used in object-mode, it allows the deserialization of arbitrary Ruby objects, which can lead to remote code execution. The vulnerability was introduced in version 1.13.2 when the FLUENT_OJ_OPTION_MODE configuration option was added. The issue is tracked as CWE-502 (Deserialization of Untrusted Data) (GitHub Security Lab).

Impact

When exploited, this vulnerability allows unauthenticated attackers to execute arbitrary code on the affected system through specially crafted JSON payloads. The impact is particularly severe as it enables remote code execution capabilities, though it's mitigated by the fact that it only affects non-default configurations (GitHub Advisory).

Exploitability

The vulnerability is exploitable when Fluentd is configured with FLUENT_OJ_OPTION_MODE set to 'object' and the Oj gem is installed. Proof-of-concept exploit code exists that demonstrates the ability to execute arbitrary commands on the affected system through specially crafted JSON payloads (GitHub Security Lab).

Mitigation and workarounds

The vulnerability was patched in Fluentd version 1.15.3 by removing the 'object' option from the available list of FLUENT_OJ_OPTION_MODE values. For users unable to upgrade immediately, the recommended workaround is to avoid using FLUENT_OJ_OPTION_MODE=object in their configuration (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71847HIGH8.7
  • Ruby logoRuby
  • ruby3.2-rails-8.1
NoYesAug 07, 2026
CVE-2026-45414HIGH8.5
  • Ruby logoRuby
  • decidim
NoYesAug 06, 2026
CVE-2026-45573MEDIUM6.4
  • Ruby logoRuby
  • decidim-core
NoYesAug 06, 2026
CVE-2026-45415MEDIUM6
  • Ruby logoRuby
  • decidim-verifications
NoYesAug 06, 2026
CVE-2026-45572MEDIUM4.8
  • Ruby logoRuby
  • decidim-core
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management