Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. fluentd
  4. ›
  5. CVE-2022-39379

CVE-2022-39379: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

November 2, 2022 (updated November 7, 2023)

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.

References

  • github.com/advisories/GHSA-fppq-mj76-fpj2
  • github.com/fluent/fluentd/commit/48e5b85dab1b6d4c273090d538fc11b3f2fd8135
  • github.com/fluent/fluentd/security/advisories/GHSA-fppq-mj76-fpj2
  • nvd.nist.gov/vuln/detail/CVE-2022-39379

Code Behaviors & Features

Detect and mitigate CVE-2022-39379 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.13.2 before 1.15.3

Fixed versions

  • 1.15.3

Solution

Upgrade to version 1.15.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

gem/fluentd/CVE-2022-39379.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.