CVE-2021-46878
7.8high
An issue was discovered in Treasure Data Fluent Bit 1.7.1, erroneous parsing in flbpackmsgpacktojsonformat leads to type confusion bug that…
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-FLUENT-BIT-2021-46878
Description
An issue was discovered in Treasure Data Fluent Bit 1.7.1, erroneous parsing in flb_pack_msgpack_to_json_format leads to type confusion bug that interprets whatever is on the stack as msgpack maps and arrays, leading to use-after-free. This can be used by an attacker to craft a specially craft file and trick the victim opening it using the affect software, triggering use-after-free and execute arbitrary code on the target system.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| treasuredata fluent_bit | 1.7.1 | NVD |
| fluent-bit (Bitnami) | from 1.7.1 before 1.7.2 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742 | advisory, exploit, issue-tracking, patch, third-party-advisory | |
| https://github.com/fluent/fluent-bit/pull/3115 | fix, patch | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-46878 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-46878 changed 2025-02-11 | CVE Terms of Use |
| NVD | CVE-2021-46878 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-FLUENT-BIT-2021-46878 changed 2026-09-08 | Apache-2.0 |