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 crash...
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux fluent-bit(Azure Linux 3.0) | < 3.1.9-3 | 3.1.9-3 | Fixed |
| cbl-mariner fluent-bit(CBL-Mariner 2.0) | < 3.0.6-2 | 3.0.6-2 | Fixed |
| treasuredata fluent bit | = 3.1.9 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux fluent-bit(Azure Linux:3.0) | < 3.1.9-3 | 3.1.9-3 |
| cbl-mariner fluent-bit(CBL-Mariner:2.0) | < 3.0.6-2 | 3.0.6-2 |
| treasuredata fluent bit | = 3.1.9 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- fluentbit.io product
- github.com release-notes
- www.ebryx.com exploit third-party-advisory