{"id":"CVE-2021-46878","details":"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.","aliases":["BIT-fluent-bit-2021-46878"],"modified":"2026-07-09T05:45:50.568284Z","published":"2023-04-11T18:15:58.340Z","references":[{"type":"FIX","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742"},{"type":"FIX","url":"https://github.com/fluent/fluent-bit/pull/3115"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fluent/fluent-bit","events":[{"introduced":"7edd2235cd2da7fe76258b7faa59ee9b37f52f8b"},{"last_affected":"7edd2235cd2da7fe76258b7faa59ee9b37f52f8b"}],"database_specific":{"cpe":"cpe:2.3:a:treasuredata:fluent_bit:1.7.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.7.1"},{"last_affected":"1.7.1"}],"source":"CPE_STRING"}}],"versions":["1.7.1","v1.7.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46878.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}