Description
The extract_name function in Fluent Bit in_docker input plugin copies container names into a fixed size stack buffer without validating length. An attacker who can create containers or control container names, can supply a long name that overflows the buffer, leading to process crash or arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FluentBit | Fluent Bit | < 4.0.12 | 4.0.12 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | fluent-bit | 3.1.10-2 | — |
| Azure Linux 2 (CBL-Mariner) | fluent-bit | 3.0.6-6 | — |
Advisories 1
- WID-SEC-2025-2670 Fluent Bit: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 25, 2025