{"id":"CVE-2024-50608","details":"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.","aliases":["BIT-fluent-bit-2024-50608"],"modified":"2026-08-12T03:51:21.418602848Z","published":"2025-02-18T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50608.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://fluentbit.io/announcements/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50608.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50608"},{"type":"PACKAGE","url":"https://github.com/fluent/fluent-bit/releases"},{"type":"ARTICLE","url":"https://www.ebryx.com/blogs/exploring-cve-2024-50608-and-cve-2024-50609"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fluent/fluent-bit","events":[{"introduced":"431fa79ae27edaef8d050a7af6f038f4400193a1"},{"last_affected":"431fa79ae27edaef8d050a7af6f038f4400193a1"}],"database_specific":{"cpe":"cpe:2.3:a:treasuredata:fluent_bit:3.1.9:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.1.9"},{"last_affected":"3.1.9"}],"source":"CPE_STRING"}}],"versions":["3.1.9","v3.1.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50608.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}