An issue was discovered in Fluent Bit 3.1.9. When the Prometheus Remote Write input plugin is running and listening on an IP address and port, one can send a packet with Content-Length: 0 and it crashes the server. Improper handling of the case when Content-Length is 0 allows a user (with access to the endpoint) to perform a remote Denial of service attack. The crash happens because of a NULL pointer dereference when 0 (from the Content-Length) is passed to the function cfl_sds_len, which in turn tries to cast a NULL pointer into struct cfl_sds. This is related to process_payload_metrics_ng() at prom_rw_prot.c.
                
            Metrics
Affected Vendors & Products
References
        History
                    Tue, 22 Apr 2025 15:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Treasuredata Treasuredata fluent Bit | |
| CPEs | cpe:2.3:a:treasuredata:fluent_bit:3.1.9:*:*:*:*:*:*:* | |
| Vendors & Products | Treasuredata Treasuredata fluent Bit | 
Wed, 19 Feb 2025 15:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Weaknesses | CWE-476 | |
| Metrics | cvssV3_1 
 
 | 
Tue, 18 Feb 2025 18:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Description | An issue was discovered in Fluent Bit 3.1.9. When the Prometheus Remote Write input plugin is running and listening on an IP address and port, one can send a packet with Content-Length: 0 and it crashes the server. Improper handling of the case when Content-Length is 0 allows a user (with access to the endpoint) to perform a remote Denial of service attack. The crash happens because of a NULL pointer dereference when 0 (from the Content-Length) is passed to the function cfl_sds_len, which in turn tries to cast a NULL pointer into struct cfl_sds. This is related to process_payload_metrics_ng() at prom_rw_prot.c. | |
| References |  | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: mitre
Published: 2025-02-18T00:00:00.000Z
Updated: 2025-02-19T15:00:24.262Z
Reserved: 2024-10-27T00:00:00.000Z
Link: CVE-2024-50608
 Vulnrichment
                        Vulnrichment
                    Updated: 2025-02-19T15:00:12.841Z
 NVD
                        NVD
                    Status : Analyzed
Published: 2025-02-18T18:15:25.667
Modified: 2025-04-22T14:54:16.733
Link: CVE-2024-50608
 Redhat
                        Redhat
                    No data.