CVE-2021-46878: Use After Free
An issue was discovered in Treasure Data Fluent Bit 1.7.1, erroneous parsing in flbpackmsgpacktojsonformat 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 Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2021-46878?
CVE-2021-46878 has been classified as a medium severity vulnerability.
How do I fix CVE-2021-46878?
To fix CVE-2021-46878, upgrade Fluent Bit to version 1.7.2 or later.
What types of attacks can exploit CVE-2021-46878?
CVE-2021-46878 can be exploited to perform a use-after-free attack through specially crafted files.
Which version of Fluent Bit is affected by CVE-2021-46878?
CVE-2021-46878 specifically affects Fluent Bit version 1.7.1.
What causes the vulnerability described in CVE-2021-46878?
CVE-2021-46878 is caused by erroneous parsing in the flb_pack_msgpack_to_json_format function leading to type confusion.