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.
                
            References
                    | Link | Resource | 
|---|---|
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742 | Exploit Issue Tracking Patch Third Party Advisory | 
| https://github.com/fluent/fluent-bit/pull/3115 | Patch | 
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742 | Exploit Issue Tracking Patch Third Party Advisory | 
| https://github.com/fluent/fluent-bit/pull/3115 | Patch | 
Configurations
                    History
                    21 Nov 2024, 06:34
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27742 - Exploit, Issue Tracking, Patch, Third Party Advisory | |
| References | () https://github.com/fluent/fluent-bit/pull/3115 - Patch | 
26 Apr 2023, 13:42
| Type | Values Removed | Values Added | 
|---|---|---|
| New CVE | 
Information
                Published : 2023-04-11 18:15
Updated : 2025-02-11 21:15
NVD link : CVE-2021-46878
Mitre link : CVE-2021-46878
CVE.ORG link : CVE-2021-46878
JSON object : View
Products Affected
                treasuredata
- fluent_bit
CWE
                
                    
                        
                        CWE-843
                        
            Access of Resource Using Incompatible Type ('Type Confusion')
