CVE-2024-50608
Fluent Bit vulnerability analysis and mitigation

Overview

CVE-2024-50608 is a vulnerability discovered in Fluent Bit version 3.1.9, affecting the Prometheus Remote Write input plugin. The vulnerability was disclosed in February 2025. When the plugin is running and listening on an IP address and port, an attacker can send a packet with Content-Length: 0, causing the server to crash. This vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) (NVD, SecurityOnline).

Technical details

The vulnerability stems from improper handling of the Content-Length value when it is set to 0, which leads to a NULL pointer dereference. Specifically, when the Content-Length: 0 value is passed to the function cflsdslen, it attempts to cast a NULL pointer into struct cflsds, resulting in a crash. This issue is related to the processpayloadmetricsng() function in promrwprot.c. The vulnerability has been classified as CWE-476 (NULL Pointer Dereference) (NVD, Ebryx).

Impact

The vulnerability allows any user with access to the endpoint to perform a remote Denial of Service (DoS) attack. Given that Fluent Bit is widely used with over 15 billion downloads and is deployed 10 million times daily, this vulnerability could potentially disrupt operations for millions of enterprise systems that rely on the software for log processing and forwarding (SecurityOnline).

Mitigation and workarounds

The vulnerability has been patched in newer versions of Fluent Bit. Users are strongly advised to update their installations to the latest version to mitigate the risk of DoS attacks. The fix involves adding validation to reject Content-Length values of 0 or less, preventing the invalid memory dereference (Ebryx).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management