Fluent Bit Multiple Vulnerabilities

high Nessus Plugin ID 216915

Synopsis

A logging processor application is affected by multiple vulnerabilities.

Description

The version of Fluent Bit running on the remote host is prior to 3.2.7. It is, therefore, is affected by multiple vulnerabilities:

- 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. (CVE-2024-50608)
- An issue was discovered in Fluent Bit 3.1.9. When the OpenTelemetry 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_traces_proto_ng() at opentelemetry_prot.c. (CVE-2024-50609)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to v3.2.7 or later.

See Also

https://fluentbit.io/announcements/v3.2.7/

http://www.nessus.org/u?7be4e4d2

Plugin Details

Severity: High

ID: 216915

File Name: fluent_bit_3_2_7.nasl

Version: 1.1

Type: remote

Family: Misc.

Published: 2/27/2025

Updated: 2/27/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2024-50608

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vulnerability Information

CPE: x-cpe:/a:fluent_bit:fluent_bit

Required KB Items: installed_sw/Fluent Bit

Patch Publication Date: 2/18/2024

Vulnerability Publication Date: 2/18/2025

Reference Information

CVE: CVE-2024-50608, CVE-2024-50609

CWE: 476

IAVA: 2025-A-0132