CyberRota Analysis
AI-GeneratedFluent Bit versions from 0.11.0 to 5.0.8 are vulnerable due to a flaw in the secure_forward_pong function, which allows an attacker controlling a Secure Forward destination to exploit a buffer overflow through an oversized message during the handshake process. This vulnerability can lead to remote code execution on systems lacking proper stack protection, making it critical for organizations using Fluent Bit on Windows and Linux to prioritize upgrading to version 5.0.8 or later to mitigate potential attacks. Users operating in environments with sensitive data or high-security requirements should take immediate action to address this vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Fluent Bit is a fast and lightweight logs, metrics, and traces processor for Linux, BSD, macOS, and Windows. From 0.11.0 until 5.0.8, plugins/out_forward/forward.c secure_forward_pong copies the server-controlled PONG[2] reason into the 32-byte stack buffer msg with memcpy without checking its MessagePack type or length. An attacker who controls or can impersonate an out_forward Secure Forward destination configured with Shared_Key or Empty_Shared_Key can send an oversized reason during the first handshake and overwrite stack control data. Protected builds reliably terminate, while builds without a stack canary or with a disclosure can allow remote code execution as the Fluent Bit process user. When the opt-in --supervisor mode is used, fork-only respawns preserve the canary and address layout, allowing repeated crash-or-survive probes to support code execution on a hardened build; ordinary exec-based or service-manager restarts do not preserve that state. This issue is fixed in version 5.0.8.