Input validation error in Fluent Bit - CVE-2019-9749

 

Input validation error in Fluent Bit - CVE-2019-9749

Published: March 13, 2019 / Updated: January 4, 2021


Vulnerability identifier: #VU49224
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2019-9749
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: fluentbit.io
Affected software:
Fluent Bit

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in the MQTT input plugin in Fluent Bit. 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.


How to mitigate CVE-2019-9749

Install updates from vendor's website.

Sources