
Cloud Vulnerability DB
A community-led vulnerabilities database
Fluent Bit (also known as fluent-bit) versions 1.7.0 through 1.7.4 were affected by a double-free vulnerability in the flb_free function, which is called from flb_parser_json_do and flb_parser_do functions (CVE Details). The vulnerability was discovered and disclosed on July 1, 2021.
The vulnerability is a heap-double-free issue that occurs in the flb_free function when it's called through the parsing chain flb_parser_json_do and flb_parser_do. 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.
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).
The vulnerability can be triggered through the JSON parsing functionality of Fluent Bit. The issue was discovered through automated fuzzing via OSS-Fuzz, suggesting it could be exploited through specially crafted input (OSS Fuzz Report).
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 mp_buf to NULL after freeing it and ensuring proper cleanup of tmp_out_buf (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."