Improper Input Validation Affecting fluent/fluent-bit package, versions [,1.0.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (48th 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 IDSNYK-UNMANAGED-FLUENTFLUENTBIT-2364903
  • published26 Jan 2022
  • disclosed13 Mar 2019
  • creditUnknown

Introduced: 13 Mar 2019

CVE-2019-9749  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade fluent/fluent-bit to version 1.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. An issue was discovered in the MQTT input plugin in Fluent Bit through 1.0.4. When this plugin acts as an MQTT broker (server), it mishandles incoming network messages. After processing a crafted packet, the plugin's mqtt_packet_drop function (in /plugins/in_mqtt/mqtt_prot.c) executes the memmove() function with a negative size parameter. That leads to a crash of the whole Fluent Bit server via a SIGSEGV signal.

References

CVSS Scores

version 3.1