OSV-2021-702 Heap-double-free in flb_free
A heap double-free vulnerability in the JSON parser allows attackers to cause denial of service or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-702?
OSV-2021-702 is an use after free vulnerability in fluent-bit, published on 29 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33750
Crash type: Heap-double-free
Crash state:
flb_free
flb_parser_json_do
flb_parser_do
Which versions are affected by OSV-2021-702?
1 open source package ship an affected version, including fluent-bit.
| Package | Affected | Fixed in |
|---|---|---|
fluent-bit OSS-Fuzz | All versions | None |
How do I fix OSV-2021-702?
No fix has been published for OSV-2021-702 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2021-702 being exploited?
There is no known exploitation of OSV-2021-702 in the wild and no public exploit code.