CVE-2021-46878
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.35%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.35% probability · 28th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-843
- Affected
- treasuredata/fluent bit
- Source
- cve@mitre.org
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/fluent/fluent-bit/pull/3115Patch
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/fluent/fluent-bit/pull/3115Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.