Improper Neutralization Affecting fluentd package, versions >=0.12.29, <0.12.41


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.22% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-FLUENTD-3247467
  • published 25 Jan 2023
  • disclosed 13 May 2022
  • credit Teppei Fukuda

How to fix?

Upgrade fluentd to version 0.12.41 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization via the filter_parser.rb:filter_stream function. Exploiting this vulnerability may allow an attacker to change the terminal UI or execute arbitrary commands on the victim's device via unspecified vectors.

NOTE: A vulnerable system requires all of the following conditions to be existing:

  1. A filter_parser enabled in fluentd.conf

  2. Fluentd is running in non-daemon mode or a bad Syslog server that doesn't sanitize escape sequences (rsyslog does)

  3. A vulnerable terminal that happens to be running fluentd or manipulating the fluentd log file.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low