Bug 2189103 (CVE-2021-46878) - CVE-2021-46878 fluent-bit: type confusion causing use-after-free in flb_pack_msgpack_to_json_format
Summary: CVE-2021-46878 fluent-bit: type confusion causing use-after-free in flb_pack_...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-46878
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2189104 2189105
Blocks: 2186018
TreeView+ depends on / blocked
 
Reported: 2023-04-24 08:35 UTC by Anten Skrabec
Modified: 2023-04-24 13:15 UTC (History)
0 users

Fixed In Version:
Doc Type: ---
Doc Text:
The package fluent-bit is vulnerable to a Use After Free due to erroneous parsing in the flb_pack_msgpack_to_json_format() function, which leads to type confusion.
Clone Of:
Environment:
Last Closed: 2023-04-24 13:15:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2023-04-24 08:35:25 UTC
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.

Comment 1 Anten Skrabec 2023-04-24 08:35:40 UTC
Created fluent-bit tracking bugs for this issue:

Affects: epel-8 [bug 2189105]
Affects: fedora-all [bug 2189104]

Comment 2 Product Security DevOps Team 2023-04-24 13:15:03 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.