CVE-2021-46878: Use After Free

Published Apr 11, 2023
·
Updated

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

1 affected component
Treasuredata Fluent Bit=1.7.1

Event History

Apr 11, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-46878?

CVE-2021-46878 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2021-46878?

To fix CVE-2021-46878, upgrade Fluent Bit to version 1.7.2 or later.

3

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.

4

Which version of Fluent Bit is affected by CVE-2021-46878?

CVE-2021-46878 specifically affects Fluent Bit version 1.7.1.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203