Проблема была обнаружена в Fluent Bit 3.1.9. Когда плагин ввода OpenTelemetry запущен и прослушивает IP-адрес и порт, можно отправить пакет с Content-Length: 0, и это приведет к сбою сервера. 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.
Сбой происходит из-за разыменования NULL-указателя, когда 0 (из Content-Length) передается функции cfl_sds_len, которая, в свою очередь, пытается привести NULL-указатель к структуре cfl_sds. Это связано с процессом_payload_traces_proto_ng() в opentelemetry_prot.c.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Treasuredata Fluent_Bit
cpe:2.3:a:treasuredata:fluent_bit:3.1.9:*:*:*:*:*:*:*
|
— | — |