CVE-2024-50608

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:treasuredata:fluent_bit:3.1.9:*:*:*:*:*:*:*

History

22 Apr 2025, 14:54

Type Values Removed Values Added
First Time Treasuredata
Treasuredata fluent Bit
References () https://fluentbit.io/announcements/ - () https://fluentbit.io/announcements/ - Product
References () https://github.com/fluent/fluent-bit/releases - () https://github.com/fluent/fluent-bit/releases - Release Notes
References () https://www.ebryx.com/blogs/exploring-cve-2024-50608-and-cve-2024-50609 - () https://www.ebryx.com/blogs/exploring-cve-2024-50608-and-cve-2024-50609 - Exploit, Third Party Advisory
CPE cpe:2.3:a:treasuredata:fluent_bit:3.1.9:*:*:*:*:*:*:*

19 Feb 2025, 15:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
Summary
  • (es) Se descubrió un problema en Fluent Bit 3.1.9. Cuando el complemento de entrada de escritura remota de Prometheus se ejecuta y escucha en una dirección IP y un puerto, uno puede enviar un paquete con contenido-longitud: 0 y bloquea el servidor. La gestión inadecuada del caso cuando la longitud de contenido es 0 permite que un usuario (con acceso a el endpoint) realice un ataque remoto de denegación de servicio. El bloqueo ocurre debido a una deserferencia de puntero nulo cuando 0 (desde la longitud del contenido) se pasa a la función CFL_SDS_LEN, que a su vez intenta lanzar un puntero nulo en Struct CFL_SDS. Esto está relacionado con process_payload_metrics_ng () en PROM_RW_PROT.C.
CWE CWE-476

18 Feb 2025, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-18 18:15

Updated : 2025-04-22 14:54


NVD link : CVE-2024-50608

Mitre link : CVE-2024-50608

CVE.ORG link : CVE-2024-50608


JSON object : View

Products Affected

treasuredata

  • fluent_bit
CWE
CWE-476

NULL Pointer Dereference