CVE-2021-36088

Fluent Bit (aka fluent-bit) 1.7.0 through 1.7.4 has a double free in flb_free (called from flb_parser_json_do and flb_parser_do)

Critical · published July 1, 2021

CVSS v3.1
9.8
EPSS
2%
Percentile
83.8
In the wild
Unconfirmed
What it is

🔥 A double free vulnerability in Fluent Bit could let attackers cause chaos without breaking a sweat! Think of this like a restaurant where the kitchen takes an order and accidentally throws away the same ingredient twice — it leads to a recipe disaster! Every time they serve a dish, there’s a risk of confusion, and letting the wrong orders slip through can spoil the whole meal. An attacker could exploit this vulnerability to crash the Fluent Bit process, leading to potential data loss or service disruption. If your logging service stops working, it could leave you blind to critical events, making recovery a real headache. This is absolutely devastating for production environments, where every log counts!

Put simply

Think of this like a restaurant where the kitchen takes an order and accidentally throws away the same ingredient twice — it leads to a recipe disaster! Every time they serve a dish, there’s a risk of confusion, and letting the wrong orders slip through can spoil the whole meal. This vulnerability arises from a double free condition in Fluent Bit versions 1.7.0 through 1.7.4, specifically in the memory management routines of the JSON parsing functions. This flaw allows attackers to manipulate memory allocation, potentially leading to unpredictable behavior or crashes.

What to do

An attacker could exploit this vulnerability to crash the Fluent Bit process, leading to potential data loss or service disruption. If your logging service stops working, it could leave you blind to critical events, making recovery a real headache. This is absolutely devastating for production environments, where every log counts! Upgrade Fluent Bit to version 1.7.5 or later immediately to close this critical vulnerability. Additionally, review your configurations to ensure all components are operating on a safe version. Don't forget to monitor your logs for any irregularities during this transition! You've got this! Follow these steps and keep your logging services running smoothly. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02384 · 83.8th percentile
Published
2021-07-01T02:50Z
EPSS history
Timeline
  • 01 JUL 02:50Z
    Fluent Bit (aka fluent-bit) 1.7.0 through 1.7.4 has a double free in flb_free (called from flb_parser_json_do and flb_parser_do)
    cvelistv5