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 mqttpacketdrop function (in /plugins/inmqtt/mqttprot.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.
{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:treasuredata:fluent_bit:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.0.4"
}
]
}