CVE-2021-36088
Fluent Bit vulnerability analysis and mitigation

Overview

Fluent Bit (also known as fluent-bit) versions 1.7.0 through 1.7.4 were affected by a double-free vulnerability in the flbfree function, which is called from flbparserjsondo and flbparserdo functions (CVE Details). The vulnerability was discovered and disclosed on July 1, 2021.

Technical details

The vulnerability is a heap-double-free issue that occurs in the flbfree function when it's called through the parsing chain flbparserjsondo and flbparserdo. The bug was identified through OSS-Fuzz testing and was assigned a HIGH severity rating (OSS Fuzz Report). The issue was introduced in commit 68746b76af8b143daf477033a6799902be2f3cad and was subsequently fixed in commits 22346a74c07ceb90296be872be2d53eb92252a54 and 9b4d9ee0f9d42383bad593b05b95f25e8b294c71.

Impact

A double-free vulnerability can lead to memory corruption, which could potentially result in program crashes, denial of service conditions, or in some cases, arbitrary code execution. This vulnerability affects all Fluent Bit installations running versions 1.7.0 through 1.7.4 (OSS Fuzz Report).

Mitigation and workarounds

The vulnerability was fixed in a patch that adds proper NULL pointer handling and prevents the double-free condition. Users should upgrade to a version of Fluent Bit that contains the fix. The fix involves setting mpbuf to NULL after freeing it and ensuring proper cleanup of tmpout_buf (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Fluent Bit vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12977CRITICAL9.1
  • Fluent BitFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025
CVE-2025-12970HIGH8.8
  • Fluent BitFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025
CVE-2025-12969MEDIUM6.5
  • Fluent BitFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025
CVE-2025-12978MEDIUM5.4
  • Fluent BitFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025
CVE-2025-12972MEDIUM5.3
  • Fluent BitFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management