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


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.22% (61st percentile)
Expand this section
NVD
9.8 critical
Expand this section
Red Hat
5.3 medium

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.